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:
@@ -25,10 +25,10 @@ RedStoneDustTile::RedStoneDustTile(int id) : Tile(id, Material::decoration,isSol
|
||||
|
||||
updateDefaultShape();
|
||||
|
||||
iconCross = nullptr;
|
||||
iconLine = nullptr;
|
||||
iconCrossOver = nullptr;
|
||||
iconLineOver = nullptr;
|
||||
iconCross = NULL;
|
||||
iconLine = NULL;
|
||||
iconCrossOver = NULL;
|
||||
iconLineOver = NULL;
|
||||
}
|
||||
|
||||
// 4J Added override
|
||||
@@ -39,7 +39,7 @@ void RedStoneDustTile::updateDefaultShape()
|
||||
|
||||
AABB *RedStoneDustTile::getAABB(Level *level, int x, int y, int z)
|
||||
{
|
||||
return nullptr;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
bool RedStoneDustTile::isSolidRender(bool isServerLevel)
|
||||
@@ -409,5 +409,5 @@ Icon *RedStoneDustTile::getTexture(const wstring &name)
|
||||
if (name.compare(TEXTURE_LINE) == 0) return Tile::redStoneDust->iconLine;
|
||||
if (name.compare(TEXTURE_CROSS_OVERLAY) == 0) return Tile::redStoneDust->iconCrossOver;
|
||||
if (name.compare(TEXTURE_LINE_OVERLAY) == 0) return Tile::redStoneDust->iconLineOver;
|
||||
return nullptr;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user