mirror of
https://github.com/edubart/otclient.git
synced 2025-10-19 14:03:26 +02:00
Return Tile walking creatures and things by const ref instead of copy (#1117)
This commit is contained in:
@@ -88,8 +88,8 @@ public:
|
||||
int getDrawElevation() { return m_drawElevation; }
|
||||
std::vector<ItemPtr> getItems();
|
||||
std::vector<CreaturePtr> getCreatures();
|
||||
std::vector<CreaturePtr> getWalkingCreatures() { return m_walkingCreatures; }
|
||||
std::vector<ThingPtr> getThings() { return m_things; }
|
||||
const std::vector<CreaturePtr>& getWalkingCreatures() { return m_walkingCreatures; }
|
||||
const std::vector<ThingPtr>& getThings() { return m_things; }
|
||||
ItemPtr getGround();
|
||||
int getGroundSpeed();
|
||||
uint8 getMinimapColorByte();
|
||||
|
Reference in New Issue
Block a user