diff options
author | truelight <truelight@openttd.org> | 2005-11-26 16:18:15 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2005-11-26 16:18:15 +0000 |
commit | 9a381f4d5d7a575571943b94c94c27b3ae6cad2d (patch) | |
tree | 36d2f634c14fe9000cedfca44f2d0a5ea1b5f5d3 /settings.c | |
parent | 10ce514f59b414c13e63bdc2e2acaf1db259354e (diff) | |
download | openttd-9a381f4d5d7a575571943b94c94c27b3ae6cad2d.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.c | 4 |
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}, |