mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Drop some unneeded MOD_REASONs
This commit is contained in:
parent
be7844192b
commit
6aa4f14a28
2 changed files with 26 additions and 27 deletions
|
@ -40,13 +40,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
#include "util/basic_macros.h"
|
||||
|
||||
static const char *modified_reason_strings[] = {
|
||||
"initial",
|
||||
"reallocate",
|
||||
"reallocate or initial",
|
||||
"setIsUnderground",
|
||||
"setLightingExpired",
|
||||
"setGenerated",
|
||||
"setNode",
|
||||
"setNodeNoCheck",
|
||||
"setTimestamp",
|
||||
"NodeMetaRef::reportMetadataChange",
|
||||
"clearAllObjects",
|
||||
|
@ -73,6 +71,7 @@ MapBlock::MapBlock(v3s16 pos, IGameDef *gamedef):
|
|||
m_gamedef(gamedef)
|
||||
{
|
||||
reallocate();
|
||||
assert(m_modified > MOD_STATE_CLEAN);
|
||||
}
|
||||
|
||||
MapBlock::~MapBlock()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue