mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 03:54:54 +02:00
attack moving creatures
This commit is contained in:
@@ -329,6 +329,8 @@ CreaturePtr Tile::getTopCreature()
|
||||
else if(thing->asCreature() && !thing->asLocalPlayer())
|
||||
return thing->asCreature();
|
||||
}
|
||||
if(!creature && !m_walkingCreatures.empty())
|
||||
creature = m_walkingCreatures.back();
|
||||
return creature;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user