summaryrefslogtreecommitdiff
path: root/src/ai/ai_info.hpp
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2009-01-13 16:53:03 +0000
committertruebrain <truebrain@openttd.org>2009-01-13 16:53:03 +0000
commit890074a03ee0c6b10aff40e4b64de7437c06f368 (patch)
treea7e2f1687e36828d0479f321da377f4a273f568c /src/ai/ai_info.hpp
parent0a357c0ac10601b6172610dbd46498ff44b978c1 (diff)
downloadopenttd-890074a03ee0c6b10aff40e4b64de7437c06f368.tar.xz
(svn r15063) -Fix [NoAI]: starting companies now listen correctly to 'start_date' set to the AI slot (Yexo)
-Add [NoAI]: add a 'deviation' value for all settings, giving a slight deviation of the value of a setting (Yexo)
Diffstat (limited to 'src/ai/ai_info.hpp')
-rw-r--r--src/ai/ai_info.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ai/ai_info.hpp b/src/ai/ai_info.hpp
index 9d283966d..ce48a6f35 100644
--- a/src/ai/ai_info.hpp
+++ b/src/ai/ai_info.hpp
@@ -23,6 +23,7 @@ struct AIConfigItem {
int easy_value; //!< The default value on easy difficulty setting.
int medium_value; //!< The default value on medium difficulty setting.
int hard_value; //!< The default value on hard difficulty setting.
+ int random_deviation; //!< The maximum random deviation from the default value.
AIConfigFlags flags; //!< Flags for the configuration setting.
};