Fix mac build.

shapetextures
Sven Eberhardt 2015-10-01 00:22:43 -04:00
parent 3d7d848eea
commit b5fe6ea02a
2 changed files with 5 additions and 2 deletions

View File

@ -806,3 +806,6 @@ int32_t C4MusicSystem::SetGameMusicLevel(int32_t volume_percent)
UpdateVolume();
return game_music_level;
}
const int32_t C4MusicSystem::DefaultMusicBreak = 120000; // two minutes default music break time
const int32_t C4MusicSystem::DefaultMusicBreakChance = 50; // ...with a 50% chance

View File

@ -100,8 +100,8 @@ private:
// Set to nonzero to allow pauses between songs
int32_t music_break_min, music_break_max, music_break_chance;
static const int32_t DefaultMusicBreak = 120000; // two minutes default music break time
static const int32_t DefaultMusicBreakChance = 50; // ...with a 50% chance
static const int32_t DefaultMusicBreak;
static const int32_t DefaultMusicBreakChance;
public:
void CompileFunc(class StdCompiler *comp);