mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
Fix fire shield sounds
This commit is contained in:
parent
16c4851d3b
commit
e2cc73d67b
@ -444,7 +444,7 @@ void BattleStacksController::stacksAreAttacked(std::vector<StackAttackedInfo> at
|
||||
addNewAnim(new HittedAnimation(owner, attackedInfo.defender));
|
||||
|
||||
if (attackedInfo.fireShield)
|
||||
owner.effectsController->displayEffect(EBattleEffect::FIRE_SHIELD, attackedInfo.attacker->getPosition());
|
||||
owner.effectsController->displayEffect(EBattleEffect::FIRE_SHIELD, soundBase::FIRESHIE, attackedInfo.attacker->getPosition());
|
||||
|
||||
if (attackedInfo.spellEffect != SpellID::NONE)
|
||||
owner.displaySpellEffect(attackedInfo.spellEffect, attackedInfo.defender->getPosition());
|
||||
|
@ -69,11 +69,8 @@
|
||||
"affect":["C05SPF0"]
|
||||
},
|
||||
"sounds": {
|
||||
"cast": "FIRESHIE"
|
||||
"cast": "FIRESHLD"
|
||||
},
|
||||
// It looks that fireshield has two separate sounds
|
||||
// "soundfile":"FIRESHLD.wav"
|
||||
//
|
||||
"levels" : {
|
||||
"base":{
|
||||
"range" : "0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user