less serialize code

This commit is contained in:
2025-08-01 13:21:31 +02:00
parent fa663d0481
commit ced20ca991
15 changed files with 38 additions and 30 deletions

View File

@@ -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(