Mercurial > hg > openttd
diff src/saveload/afterload.cpp @ 12810:0400e81a3cc9 draft
(svn r17298) -Fix [FS#3153]: reloading an AI started a new AI in the first available company slot causing other AIs to be started
author | yexo <yexo@openttd.org> |
---|---|
date | Fri, 28 Aug 2009 15:23:11 +0000 |
parents | 0745055d8e85 |
children | c2f3eaf3b353 |
line wrap: on
line diff
--- a/src/saveload/afterload.cpp +++ b/src/saveload/afterload.cpp @@ -49,7 +49,7 @@ #include <signal.h> extern StringID _switch_mode_errorstr; -extern Company *DoStartupNewCompany(bool is_ai); +extern Company *DoStartupNewCompany(bool is_ai, CompanyID company = INVALID_COMPANY); extern void InitializeRailGUI(); /**