Changeset - r18819:77d4c06ea7b5
[Not reviewed]
master
0 1 0
truebrain - 12 years ago 2011-12-27 15:35:47
truebrain@openttd.org
(svn r23678) -Fix: close the editbox of settings when changing an AI, to avoid invalid memory read/write (reported by SmatZ)
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/ai/ai_gui.cpp
Show inline comments
 
@@ -174,6 +174,7 @@ struct AIListWindow : public Window {
 
		}
 
		InvalidateWindowData(WC_GAME_OPTIONS, WN_GAME_OPTIONS_AI);
 
		InvalidateWindowClassesData(WC_AI_SETTINGS);
 
		DeleteWindowByClass(WC_QUERY_STRING);
 
	}
 

	
 
	virtual void OnClick(Point pt, int widget, int click_count)
0 comments (0 inline, 0 general)