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:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user