mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
Fixed helicopter sound playing in loop indefinitely when quick-loading during helidrop animation.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9252 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -245,6 +245,7 @@ extern BOOLEAN ValidateSoldierInitLinks( UINT8 ubCode );
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern BOOLEAN fFirstTimeInGameScreen; // added by Flugente
|
extern BOOLEAN fFirstTimeInGameScreen; // added by Flugente
|
||||||
|
extern UINT32 uiSoundSample;
|
||||||
|
|
||||||
//////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////
|
||||||
//
|
//
|
||||||
@@ -2751,6 +2752,12 @@ BOOLEAN DoQuickLoad()
|
|||||||
PauseTime( FALSE );
|
PauseTime( FALSE );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Remove sound
|
||||||
|
if (uiSoundSample != NO_SAMPLE)
|
||||||
|
{
|
||||||
|
SoundStop(uiSoundSample);
|
||||||
|
}
|
||||||
|
|
||||||
//Do a fade out before we load the game
|
//Do a fade out before we load the game
|
||||||
gFadeOutDoneCallback = DoneFadeOutForSaveLoadScreen;
|
gFadeOutDoneCallback = DoneFadeOutForSaveLoadScreen;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user