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:
Overhaul
2007-10-20 08:32:53 +00:00
parent 4bb41616eb
commit b170dbb1e5
9 changed files with 79 additions and 79 deletions
+6 -6
View File
@@ -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: