mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
Fixes to reduce the number of compile warnings. Still many more to fix
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1535 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -416,11 +416,11 @@ BOOLEAN StartMusicBasedOnMode( )
|
||||
{
|
||||
fFirstTime = FALSE;
|
||||
|
||||
bNothingModeSong = NOTHING_A_MUSIC + (INT8)Random( 4 );
|
||||
bNothingModeSong = (INT8) (NOTHING_A_MUSIC + Random( 4 ));
|
||||
|
||||
bEnemyModeSong = TENSOR_A_MUSIC + (INT8)Random( 3 );
|
||||
bEnemyModeSong = (INT8) (TENSOR_A_MUSIC + Random( 3 ));
|
||||
|
||||
bBattleModeSong = BATTLE_A_MUSIC + (INT8)Random( 2 );
|
||||
bBattleModeSong = (INT8) (BATTLE_A_MUSIC + Random( 2 ));
|
||||
|
||||
}
|
||||
|
||||
@@ -451,7 +451,7 @@ BOOLEAN StartMusicBasedOnMode( )
|
||||
else
|
||||
{
|
||||
MusicPlay( bNothingModeSong );
|
||||
bNothingModeSong = NOTHING_A_MUSIC + (INT8)Random( 4 );
|
||||
bNothingModeSong = (INT8) (NOTHING_A_MUSIC + Random( 4 ) );
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -465,7 +465,7 @@ BOOLEAN StartMusicBasedOnMode( )
|
||||
else
|
||||
{
|
||||
MusicPlay( bEnemyModeSong );
|
||||
bEnemyModeSong = TENSOR_A_MUSIC + (INT8)Random( 3 );
|
||||
bEnemyModeSong = (INT8) (TENSOR_A_MUSIC + Random( 3 ));
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -480,7 +480,7 @@ BOOLEAN StartMusicBasedOnMode( )
|
||||
{
|
||||
MusicPlay( bBattleModeSong );
|
||||
}
|
||||
bBattleModeSong = BATTLE_A_MUSIC + (INT8)Random( 2 );
|
||||
bBattleModeSong = (INT8) (BATTLE_A_MUSIC + Random( 2 ));
|
||||
break;
|
||||
|
||||
case MUSIC_TACTICAL_VICTORY:
|
||||
|
||||
Reference in New Issue
Block a user