Fix 7.4 walking over items with elevation

This commit is contained in:
Sam 2016-01-25 22:19:29 +01:00
parent f024e30753
commit 2b7e2a45ea
1 changed files with 3 additions and 0 deletions

View File

@ -506,6 +506,9 @@ bool Tile::isWalkable(bool ignoreCreatures)
if(!getGround()) if(!getGround())
return false; return false;
if(g_game.getClientVersion() <= 740 && hasElevation(2))
return false;
for(const ThingPtr& thing : m_things) { for(const ThingPtr& thing : m_things) {
if(thing->isNotWalkable()) if(thing->isNotWalkable())
return false; return false;