summaryrefslogtreecommitdiff
path: root/src/ai/ai_info.cpp
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2009-01-13 14:00:26 +0000
committertruebrain <truebrain@openttd.org>2009-01-13 14:00:26 +0000
commitc3249d599fb4805b6c59e89c28c4d2720a7bcae0 (patch)
treefcc285a1912310512f00a09a911ee585210e5611 /src/ai/ai_info.cpp
parent405239758ecd3dad1d52322b2fea05ed350d15bb (diff)
downloadopenttd-c3249d599fb4805b6c59e89c28c4d2720a7bcae0.tar.xz
(svn r15059) -Add [NoAI]: use 'start_date' from the AI configure to see when an AI should start next
Diffstat (limited to 'src/ai/ai_info.cpp')
-rw-r--r--src/ai/ai_info.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ai/ai_info.cpp b/src/ai/ai_info.cpp
index c68972c45..2b076536e 100644
--- a/src/ai/ai_info.cpp
+++ b/src/ai/ai_info.cpp
@@ -156,10 +156,10 @@ void AIFileInfo::CheckMethods(SQInteger *res, const char *name)
config.description = strdup("The amount of months after the start of the last AI, this AI will start (give or take).");
config.min_value = 0;
config.max_value = 120;
- config.easy_value = 48;
- config.medium_value = 24;
- config.hard_value = 12;
- config.custom_value = 24;
+ config.easy_value = AI::START_NEXT_EASY;
+ config.medium_value = AI::START_NEXT_MEDIUM;
+ config.hard_value = AI::START_NEXT_HARD;
+ config.custom_value = AI::START_NEXT_MEDIUM;
config.flags = AICONFIG_NONE;
info->config_list.push_back(config);