Changeset - r1737:c3ec4ab44760
[Not reviewed]
master
0 1 0
Darkvater - 19 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
 
@@ -713,12 +713,13 @@ void UnInitWindowSystem(void)
 
}
 

	
 
void ResetWindowSystem(void)
 
{
 
	UnInitWindowSystem();
 
	InitWindowSystem();
 
	memset(&_thd, 0, sizeof(TileHighlightData));
 
}
 

	
 
static void DecreaseWindowCounters(void)
 
{
 
	Window *w;
 

	
0 comments (0 inline, 0 general)