less serialize code
This commit is contained in:
@@ -27,7 +27,7 @@ GL::VertexArray LoadWorldModel(const td::game::World* world) {
|
||||
td::game::TileIndex tileIndex = chunk->GetTileIndex(tileNumber);
|
||||
td::game::TilePtr tile = world->GetTilePtr(tileIndex);
|
||||
|
||||
if (tile == nullptr)
|
||||
if (!tile)
|
||||
continue;
|
||||
|
||||
positions.insert(
|
||||
|
||||
Reference in New Issue
Block a user