diff options
author | rubidium <rubidium@openttd.org> | 2010-01-09 14:41:22 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-01-09 14:41:22 +0000 |
commit | f65f276d10e528ffe2581656cfa8066a20002995 (patch) | |
tree | 40c36e7a0eb0070dbb4cb04eda09480fee9d0bbf /src/ai/ai.hpp | |
parent | 7f6016031e8367c8ce53a4017e5dadd47dc1974e (diff) | |
download | openttd-f65f276d10e528ffe2581656cfa8066a20002995.tar.xz |
(svn r18763) -Feature [FS#3095]: rerandomise AIs on reloading (via the debug window) when they were randomly chosen
Diffstat (limited to 'src/ai/ai.hpp')
-rw-r--r-- | src/ai/ai.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ai/ai.hpp b/src/ai/ai.hpp index 7d1b0673c..a23c411af 100644 --- a/src/ai/ai.hpp +++ b/src/ai/ai.hpp @@ -45,8 +45,9 @@ public: /** * Start a new AI company. * @param company At which slot the AI company should start. + * @param rerandomise_ai Whether to rerandomise the configured AI. */ - static void StartNew(CompanyID company); + static void StartNew(CompanyID company, bool rerandomise_ai = true); /** * Called every game-tick to let AIs do something. |