mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Implemented teleportation animation effect
This commit is contained in:
@ -204,9 +204,9 @@ void CAdventureAI::battleObstaclesChanged(const std::vector<ObstacleChanges> & o
|
||||
battleAI->battleObstaclesChanged(obstacles);
|
||||
}
|
||||
|
||||
void CAdventureAI::battleStackMoved(const CStack * stack, std::vector<BattleHex> dest, int distance)
|
||||
void CAdventureAI::battleStackMoved(const CStack * stack, std::vector<BattleHex> dest, int distance, bool teleport)
|
||||
{
|
||||
battleAI->battleStackMoved(stack, dest, distance);
|
||||
battleAI->battleStackMoved(stack, dest, distance, teleport);
|
||||
}
|
||||
|
||||
void CAdventureAI::battleAttack(const BattleAttack * ba)
|
||||
|
Reference in New Issue
Block a user