mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Integrated CClientState into GameEngine class
This commit is contained in:
@@ -472,7 +472,7 @@ void BattleStacksController::stacksAreAttacked(std::vector<StackAttackedInfo> at
|
||||
{
|
||||
auto spell = attackedInfo.spellEffect.toSpell();
|
||||
if (!spell->getCastSound().empty())
|
||||
CCS->soundh->playSound(spell->getCastSound());
|
||||
ENGINE->sound().playSound(spell->getCastSound());
|
||||
|
||||
|
||||
owner.displaySpellEffect(spell, attackedInfo.defender->getPosition());
|
||||
|
||||
Reference in New Issue
Block a user