mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-01 23:12:49 +02:00
vcmi: now obstacles can have disappearing anim
It is a reverse version of appearingAnimation.
This commit is contained in:
@@ -653,6 +653,11 @@ void BattleInterface::obstaclePlaced(const std::vector<std::shared_ptr<const COb
|
||||
obstacleController->obstaclePlaced(oi);
|
||||
}
|
||||
|
||||
void BattleInterface::obstacleRemoved(const std::vector<ObstacleChanges> & obstacles)
|
||||
{
|
||||
obstacleController->obstacleRemoved(obstacles);
|
||||
}
|
||||
|
||||
const CGHeroInstance *BattleInterface::currentHero() const
|
||||
{
|
||||
if (attackingHeroInstance && attackingHeroInstance->tempOwner == curInt->playerID)
|
||||
|
||||
Reference in New Issue
Block a user