Browse Source

Fix fire shield sounds

Ivan Savenko 2 years ago
parent
commit
e2cc73d67b
2 changed files with 2 additions and 5 deletions
  1. 1 1
      client/battle/BattleStacksController.cpp
  2. 1 4
      config/spells/timed.json

+ 1 - 1
client/battle/BattleStacksController.cpp

@@ -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());

+ 1 - 4
config/spells/timed.json

@@ -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",