attack moving creatures

This commit is contained in:
Eduardo Bart
2012-06-02 21:00:09 -03:00
parent 079b7a5c41
commit 3a6f326a8a
2 changed files with 2 additions and 1 deletions

View File

@@ -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;
}