Use Kamikaze sound
authorunc0rr
Wed, 11 Jun 2008 22:19:14 +0000
changeset 992 c16355b0c982
parent 991 d17c71ee074e
child 993 4319810f23c1
Use Kamikaze sound
hedgewars/GSHandlers.inc
hedgewars/uConsts.pas
--- a/hedgewars/GSHandlers.inc	Wed Jun 11 21:41:44 2008 +0000
+++ b/hedgewars/GSHandlers.inc	Wed Jun 11 22:19:14 2008 +0000
@@ -1449,6 +1449,7 @@
 if Gear^.Timer = 0 then
 	begin
 	Gear^.Pos:= 1;
+	PlaySound(sndKamikaze, false);
 	Gear^.doStep:= @doStepKamikazeWork
 	end
 end;
--- a/hedgewars/uConsts.pas	Wed Jun 11 21:41:44 2008 +0000
+++ b/hedgewars/uConsts.pas	Wed Jun 11 22:19:14 2008 +0000
@@ -66,7 +66,7 @@
                    sndJump3, sndYesSir, sndLaugh, sndIllGetYou, sndIncoming,
                    sndMissed, sndStupid, sndFirstBlood, sndBoring, sndByeBye,
                    sndSameTeam, sndNutter, sndReinforce, sndTraitor, sndRegret,
-                   sndEnemyDown, sndCoward, sndHurry, sndWatchIt);
+                   sndEnemyDown, sndCoward, sndHurry, sndWatchIt, sndKamikaze);
 
      TAmmoType  = (amGrenade, amClusterBomb, amBazooka, amUFO, amShotgun, amPickHammer,
                    amSkip, amRope, amMine, amDEagle, amDynamite, amFirePunch, amWhip,
@@ -434,7 +434,8 @@
                 (FileName:     'Enemydown.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndEnemyDown
                 (FileName:        'Coward.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndCoward
                 (FileName:         'Hurry.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndHurry
-                (FileName:       'Watchit.ogg'; Path: ptVoices; id: nil; lastChan: 0) // sndWatchIt
+                (FileName:       'Watchit.ogg'; Path: ptVoices; id: nil; lastChan: 0),// sndWatchIt
+                (FileName:      'Kamikaze.ogg'; Path: ptVoices; id: nil; lastChan: 0) // sndKamikaze
                 );
 
       Ammoz: array [TAmmoType] of record