Skip to content

Commit

Permalink
Re-arrange Tile Memory Layout (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
Codinablack authored Feb 25, 2025
1 parent 41b442b commit c86679f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/tile.h
Original file line number Diff line number Diff line change
Expand Up @@ -320,11 +320,11 @@ class Tile : public Cylinder, public SharedObject
void resetTileFlags(const ItemPtr& item);
void updateHouse(const ItemPtr& item);

House* house = nullptr;
ItemPtr ground = nullptr;
Position tilePos;
uint32_t flags = 0;
TileItemsPtr items;
TileCreaturesPtr creatures;
ItemPtr ground;
Position tilePos;
House* house;
uint32_t flags;
};
#endif

0 comments on commit c86679f

Please sign in to comment.