Changeset - r18821:f953314039ac
[Not reviewed]
master
0 1 0
rubidium - 12 years ago 2011-12-28 17:33:12
rubidium@openttd.org
(svn r23680) -Fix [FS#4915]: prevent removal of the (AI) company the local player is in
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/console_cmds.cpp
Show inline comments
 
@@ -1245,7 +1245,7 @@ DEF_CONSOLE_CMD(ConStopAI)
 
		return true;
 
	}
 

	
 
	if (Company::IsHumanID(company_id)) {
 
	if (Company::IsHumanID(company_id) || company_id == _local_company) {
 
		IConsoleWarning("Company is not controlled by an AI.");
 
		return true;
 
	}
0 comments (0 inline, 0 general)