summaryrefslogtreecommitdiff
path: root/settings.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2005-11-26 16:18:15 +0000
committertruelight <truelight@openttd.org>2005-11-26 16:18:15 +0000
commit29a0f76ac9cb2d329dbefff91bc998d6f92d5521 (patch)
tree36d2f634c14fe9000cedfca44f2d0a5ea1b5f5d3 /settings.c
parent68c95f164ee4284242d6035949a84855ff82675d (diff)
downloadopenttd-29a0f76ac9cb2d329dbefff91bc998d6f92d5521.tar.xz
(svn r3238) -Fix: always save if you want GPMI-based AIs, this on request by
Darkvater, so we can, in the future, save patch options in savegames without any problems.
Diffstat (limited to 'settings.c')
-rw-r--r--settings.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/settings.c b/settings.c
index d18b44564..38a84c3a7 100644
--- a/settings.c
+++ b/settings.c
@@ -11,9 +11,7 @@
#include "variables.h"
#include "network.h"
#include "settings.h"
-#ifdef GPMI
#include "ai/ai.h"
-#endif /* GPMI */
typedef struct IniFile IniFile;
typedef struct IniItem IniItem;
@@ -946,9 +944,7 @@ const SettingDesc patch_settings[] = {
{"ainew_active", SDT_BOOL, (void*)false, &_patches.ainew_active, NULL},
{"ai_in_multiplayer", SDT_BOOL, (void*)false, &_patches.ai_in_multiplayer, NULL},
-#ifdef GPMI
{"ai_gpmi", SDT_BOOL, (void*)true, &_ai.gpmi, NULL},
-#endif /* GPMI */
{"map_x", SDT_UINT32, (void*)8, &_patches.map_x, NULL},
{"map_y", SDT_UINT32, (void*)8, &_patches.map_y, NULL},