Fix 7.4 walking over items with elevation
This commit is contained in:
parent
f024e30753
commit
2b7e2a45ea
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue