1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-05 00:49:09 +02:00

* correct handling of flying creatures in battles

* minor changes
This commit is contained in:
mateuszb
2009-03-07 16:05:53 +00:00
parent 329eab2f6a
commit 9eb6128b27
10 changed files with 144 additions and 83 deletions

View File

@ -2215,10 +2215,10 @@ void CPlayerInterface::battleResultQuited()
LOCPLINT->showingDialog->setn(false);
}
void CPlayerInterface::battleStackMoved(int ID, int dest)
void CPlayerInterface::battleStackMoved(int ID, int dest, int distance)
{
boost::unique_lock<boost::recursive_mutex> un(*pim);
battleInt->stackMoved(ID, dest, dest==curAction->destinationTile);
battleInt->stackMoved(ID, dest, dest==curAction->destinationTile, distance);
}
void CPlayerInterface::battleSpellCasted(SpellCasted *sc)
{