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

1
TODO
View File

@ -8,7 +8,6 @@ make left panel optional
must close last container when opening a new containers must close last container when opening a new containers
move chat tabs move chat tabs
save/load mini windows states/location when restarting the client save/load mini windows states/location when restarting the client
graphics options menu
load modules from zip files load modules from zip files
manual autoload setting in module manager manual autoload setting in module manager
complete a smarter miniwindow moving/resizing complete a smarter miniwindow moving/resizing

View File

@ -329,6 +329,8 @@ CreaturePtr Tile::getTopCreature()
else if(thing->asCreature() && !thing->asLocalPlayer()) else if(thing->asCreature() && !thing->asLocalPlayer())
return thing->asCreature(); return thing->asCreature();
} }
if(!creature && !m_walkingCreatures.empty())
creature = m_walkingCreatures.back();
return creature; return creature;
} }