openbsd-ports/games/openttd/patches/patch-settings_c

22 lines
1.0 KiB
Plaintext

$OpenBSD: patch-settings_c,v 1.1.1.1 2006/06/01 08:06:45 jolan Exp $
--- settings.c.orig Wed Mar 22 05:17:21 2006
+++ settings.c Thu Jun 1 00:50:15 2006
@@ -733,7 +733,7 @@ static void save_setting_desc(IniFile *i
//***************************
#ifndef EXTERNAL_PLAYER
-#define EXTERNAL_PLAYER "timidity"
+#define EXTERNAL_PLAYER "midiplay"
#endif
static const SettingDesc music_settings[] = {
@@ -742,7 +742,7 @@ static const SettingDesc music_settings[
{"effect_vol",SDT_UINT8, (void*)128, &msf.effect_vol, NULL},
{"custom_1", SDT_INTLIST | SDT_UINT8 | lengthof(msf.custom_1) << 16, NULL, &msf.custom_1, NULL},
{"custom_2", SDT_INTLIST | SDT_UINT8 | lengthof(msf.custom_2) << 16, NULL, &msf.custom_2, NULL},
- {"playing", SDT_BOOL, (void*)true, &msf.btn_down, NULL},
+ {"playing", SDT_BOOL, (void*)false, &msf.btn_down, NULL},
{"shuffle", SDT_BOOL, (void*)false, &msf.shuffle, NULL},
{"extmidi", SDT_STRINGBUF | (lengthof(msf.extmidi)<<16), EXTERNAL_PLAYER, &msf.extmidi, NULL},
{NULL, 0, NULL, NULL, NULL}