mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
- Multiplayer Bugfix: Fixed crash in RELEASE version, when entering tactical insertion screen
o The game crashed in RELEASE version, because of uninitialized music variables which were introduced in revision 6296 git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6338 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -30,11 +30,11 @@ static UINT8 gubOldMusicMode = 0;
|
||||
static INT8 gbVictorySongCount = 0;
|
||||
static INT8 gbDeathSongCount = 0;
|
||||
|
||||
static INT32 bNothingModeSong;
|
||||
static INT32 bEnemyModeSong;
|
||||
static INT32 bBattleModeSong;
|
||||
static INT32 bNothingModeSong = NOTHING_A_MUSIC;
|
||||
static INT32 bEnemyModeSong = TENSOR_A_MUSIC;
|
||||
static INT32 bBattleModeSong = BATTLE_A_MUSIC;
|
||||
|
||||
static INT32 NewSoundID;
|
||||
static INT32 NewSoundID = -1;
|
||||
static BOOLEAN SetSoundID = FALSE;
|
||||
|
||||
static INT32 gubOldMusicMode2 = 0;
|
||||
@@ -76,7 +76,7 @@ BOOLEAN MusicFadeOut(void);
|
||||
BOOLEAN MusicFadeIn(void);
|
||||
|
||||
MUSIC_SOUND_VALUES MusicSoundValues[256];
|
||||
INT32 GlobalSoundID;
|
||||
INT32 GlobalSoundID = -1;
|
||||
|
||||
//extern void HandleEndDemoInCreatureLevel( );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user