diff options
author | tron <tron@openttd.org> | 2005-03-30 19:52:26 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-03-30 19:52:26 +0000 |
commit | 66989faab68ac7fa082aa9e6feb461e835a96d19 (patch) | |
tree | cae4aa874d2b93a6b7a6cf13a0a7950828bd93a3 /music_gui.c | |
parent | 16a64d70006b1dc2110af76fa6967eb0bfff0bd7 (diff) | |
download | openttd-66989faab68ac7fa082aa9e6feb461e835a96d19.tar.xz |
(svn r2112) -Fix: ExtMidi no longer halts the game while starting a song
-Fix: Redirect stdin/stdout/stderr of the ExtMidi process to /dev/null, to prevent it from writing to the terminal
While here give the ExtMidi functions canonical names
Diffstat (limited to 'music_gui.c')
-rw-r--r-- | music_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/music_gui.c b/music_gui.c index 92105668a..a5e9b3957 100644 --- a/music_gui.c +++ b/music_gui.c @@ -181,7 +181,7 @@ void MusicLoop(void) if (_song_is_active == false) return; - if (!_music_driver->is_song_playing()) { + if (!_music_driver->is_song_playing() && _game_mode != GM_MENU) { StopMusic(); SkipToNextSong(); PlayPlaylistSong(); |