Revert "Project modernization (#630)"
This code was not tested and breaks in Release builds, reverting to restore
functionality of the nightly. All in-game menus do not work and generating
a world crashes.
This reverts commit a9be52c41a.
This commit is contained in:
@@ -24,7 +24,7 @@ FireTile::FireTile(int id) : Tile(id, Material::fire,isSolidRender())
|
||||
burnOdds = new int[256];
|
||||
memset( burnOdds,0,sizeof(int)*256);
|
||||
|
||||
icons = nullptr;
|
||||
icons = NULL;
|
||||
|
||||
setTicking(true);
|
||||
}
|
||||
@@ -64,7 +64,7 @@ void FireTile::setFlammable(int id, int flame, int burn)
|
||||
|
||||
AABB *FireTile::getAABB(Level *level, int x, int y, int z)
|
||||
{
|
||||
return nullptr;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
bool FireTile::blocksLight()
|
||||
|
||||
Reference in New Issue
Block a user