Changeset - r1737:c3ec4ab44760
[Not reviewed]
master
0 1 0
Darkvater - 20 years ago 2005-05-01 19:37:20
darkvater@openttd.org
(svn r2241) - Fix: [ 1190625 ] Changing mapsize crashes game with highlighting. Without shutting down OpenTTD some possibly 'invalid' data in TileHighLightData (_thd) is left behind; reset it.
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
window.c
Show inline comments
 
@@ -716,6 +716,7 @@ void ResetWindowSystem(void)
 
{
 
	UnInitWindowSystem();
 
	InitWindowSystem();
 
	memset(&_thd, 0, sizeof(TileHighlightData));
 
}
 

	
 
static void DecreaseWindowCounters(void)
0 comments (0 inline, 0 general)