summaryrefslogtreecommitdiff
path: root/settings_gui.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
commit9a381f4d5d7a575571943b94c94c27b3ae6cad2d (patch)
tree36d2f634c14fe9000cedfca44f2d0a5ea1b5f5d3 /settings_gui.c
parent10ce514f59b414c13e63bdc2e2acaf1db259354e (diff)
downloadopenttd-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_gui.c')
-rw-r--r--settings_gui.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/settings_gui.c b/settings_gui.c
index 9e8365b75..95341c944 100644
--- a/settings_gui.c
+++ b/settings_gui.c
@@ -19,9 +19,7 @@
#include "console.h"
#include "town.h"
#include "variables.h"
-#ifdef GPMI
#include "ai/ai.h"
-#endif /* GPMI */
static uint32 _difficulty_click_a;
static uint32 _difficulty_click_b;
@@ -763,9 +761,7 @@ static const PatchEntry _patches_economy[] = {
static const PatchEntry _patches_ai[] = {
{PE_BOOL, 0, STR_CONFIG_PATCHES_AINEW_ACTIVE, "ainew_active", &_patches.ainew_active, 0, 1, 1, &AiNew_PatchActive_Warning},
{PE_BOOL, 0, STR_CONFIG_PATCHES_AI_IN_MULTIPLAYER, "ai_in_multiplayer", &_patches.ai_in_multiplayer, 0, 1, 1, &Ai_In_Multiplayer_Warning},
-#ifdef GPMI
{PE_BOOL, 0, STR_CONFIG_PATCHES_AI_GPMI, "ai_gpmi", &_ai.gpmi, 0, 1, 1, NULL},
-#endif /* GPMI */
{PE_BOOL, 0, STR_CONFIG_PATCHES_AI_BUILDS_TRAINS, "ai_disable_veh_train", &_patches.ai_disable_veh_train, 0, 0, 0, NULL},
{PE_BOOL, 0, STR_CONFIG_PATCHES_AI_BUILDS_ROADVEH,"ai_disable_veh_roadveh",&_patches.ai_disable_veh_roadveh, 0, 0, 0, NULL},