Changeset - r11412:43e7a9e45599
[Not reviewed]
master
0 1 0
yexo - 15 years ago 2009-03-19 23:38:51
yexo@openttd.org
(svn r15774) -Fix (r15708): Don't show the message about reporting an AI crash for the dummy AI.
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/ai/ai_instance.cpp
Show inline comments
 
@@ -255,8 +255,10 @@ void AIInstance::Died()
 
	this->engine = NULL;
 

	
 
	ShowAIDebugWindow(_current_company);
 
	if (strcmp(GetCompany(_current_company)->ai_info->GetMainScript(), "%_dummy") != 0) {
 
	ShowErrorMessage(INVALID_STRING_ID, STR_AI_PLEASE_REPORT_CRASH, 0, 0);
 
}
 
}
 

	
 
void AIInstance::GameLoop()
 
{
0 comments (0 inline, 0 general)