DEADSOFTWARE

Player: Add missing sounds to pause
authorStas'M <x86corez@gmail.com>
Thu, 31 Jan 2019 15:29:05 +0000 (18:29 +0300)
committerStas'M <x86corez@gmail.com>
Thu, 31 Jan 2019 15:41:48 +0000 (18:41 +0300)
src/game/g_player.pas

index 854d8119b44c4f0b4fe27b264e7dd273dece20bc..5c8fdb77314a61498144dd214d708675eddc3a10 100644 (file)
@@ -2266,6 +2266,7 @@ begin
   FSawSound.Free();
   FSawSoundIdle.Free();
   FSawSoundHit.Free();
+  FSawSoundSelect.Free();
   FJetSoundFly.Free();
   FJetSoundOn.Free();
   FJetSoundOff.Free();
@@ -6260,6 +6261,9 @@ begin
   FSawSoundIdle.Pause(Enable);
   FSawSoundHit.Pause(Enable);
   FSawSoundSelect.Pause(Enable);
+  FJetSoundFly.Pause(Enable);
+  FJetSoundOn.Pause(Enable);
+  FJetSoundOff.Pause(Enable);
 end;
 
 { T C o r p s e : }