summaryrefslogtreecommitdiff
path: root/src/openttd.cpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2009-08-28 15:23:11 +0000
committeryexo <yexo@openttd.org>2009-08-28 15:23:11 +0000
commitf548a1b3b3c054957b421e88e2122f6f455bf9fc (patch)
tree78a6ef212c4cf307d9d472ce55ecb54d6f19b13d /src/openttd.cpp
parente09cba404c77e9ffc33658da83a5f47ff262ee3a (diff)
downloadopenttd-f548a1b3b3c054957b421e88e2122f6f455bf9fc.tar.xz
(svn r17298) -Fix [FS#3153]: reloading an AI started a new AI in the first available company slot causing other AIs to be started
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r--src/openttd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp
index 98af20661..a99a735ec 100644
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -83,7 +83,7 @@ void ProcessAsyncSaveFinish();
void CallWindowTickEvent();
extern void SetDifficultyLevel(int mode, DifficultySettings *gm_opt);
-extern Company *DoStartupNewCompany(bool is_ai);
+extern Company *DoStartupNewCompany(bool is_ai, CompanyID company = INVALID_COMPANY);
extern void ShowOSErrorBox(const char *buf, bool system);
extern void InitializeRailGUI();