less serialize code
This commit is contained in:
@@ -61,7 +61,7 @@ class World {
|
||||
|
||||
TilePtr GetTilePtr(TileIndex index) const {
|
||||
if (index == 0)
|
||||
return nullptr;
|
||||
return TilePtr(nullptr);
|
||||
return m_TilePalette.at(index - 1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user