Changeset - r10850:f00c8894cd62
[Not reviewed]
master
0 1 0
Yexo - 15 years ago 2009-01-21 00:19:21
yexo@openttd.org
(svn r15185) -Fix (r15175): It was impossible to select AIs that had a different instance name then their name.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/ai/ai_gui.cpp
Show inline comments
 
@@ -113,7 +113,7 @@ struct AIListWindow : public Window {
 
		} else {
 
			AIInfoList::const_iterator it = this->ai_info_list->begin();
 
			for (int i = 0; i < this->selected; i++) it++;
 
			AIConfig::GetConfig(slot)->ChangeAI((*it).second->GetName(), (*it).second->GetVersion());
 
			AIConfig::GetConfig(slot)->ChangeAI((*it).second->GetInstanceName(), (*it).second->GetVersion());
 
		}
 
		InvalidateWindow(WC_GAME_OPTIONS, 0);
 
	}
0 comments (0 inline, 0 general)