openbsd-ports/games/openttd/patches/patch-src_settings_cpp
2008-06-19 20:40:04 +00:00

22 lines
1.1 KiB
Plaintext

$OpenBSD: patch-src_settings_cpp,v 1.1 2008/06/19 20:40:04 mk Exp $
--- src/settings.cpp.orig Fri Jun 13 20:09:13 2008
+++ src/settings.cpp Fri Jun 13 20:10:45 2008
@@ -1253,7 +1253,7 @@ static int32 ConvertLandscape(const char *value)
/* End - Callback Functions */
#ifndef EXTERNAL_PLAYER
-#define EXTERNAL_PLAYER "timidity"
+#define EXTERNAL_PLAYER "midiplay"
#endif
static const SettingDesc _music_settings[] = {
@@ -1262,7 +1262,7 @@ static const SettingDesc _music_settings[] = {
SDT_VAR(MusicFileSettings, effect_vol, SLE_UINT8, S, 0, 128, 0, 100, 1, STR_NULL, NULL),
SDT_LIST(MusicFileSettings, custom_1, SLE_UINT8, S, 0, NULL, STR_NULL, NULL),
SDT_LIST(MusicFileSettings, custom_2, SLE_UINT8, S, 0, NULL, STR_NULL, NULL),
- SDT_BOOL(MusicFileSettings, playing, S, 0, true, STR_NULL, NULL),
+ SDT_BOOL(MusicFileSettings, playing, S, 0, false, STR_NULL, NULL),
SDT_BOOL(MusicFileSettings, shuffle, S, 0, false, STR_NULL, NULL),
SDT_STR(MusicFileSettings, extmidi, SLE_STRB, S, 0, EXTERNAL_PLAYER, STR_NULL, NULL),
SDT_END()