mirror of
https://github.com/edubart/otclient.git
synced 2025-10-20 06:23:26 +02:00
Finalizing auto walk enhancements, closes #63, also other fixes:
* Can now auto walk up to 1000 steps! * Re-added sexy topmenu buttons :) * Tooltip for logout/edit will now change * Changed xxStackpos to xxStackPos
This commit is contained in:
@@ -276,7 +276,7 @@ bool Tile::hasThing(const ThingPtr& thing)
|
||||
return std::find(m_things.begin(), m_things.end(), thing) != m_things.end();
|
||||
}
|
||||
|
||||
int Tile::getThingStackpos(const ThingPtr& thing)
|
||||
int Tile::getThingStackPos(const ThingPtr& thing)
|
||||
{
|
||||
for(uint stackpos = 0; stackpos < m_things.size(); ++stackpos)
|
||||
if(thing == m_things[stackpos])
|
||||
|
Reference in New Issue
Block a user