(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.

This commit is contained in:
Darkvater 2005-05-01 19:37:20 +00:00
parent fa541b8656
commit a2a1e0a114

View File

@ -716,6 +716,7 @@ void ResetWindowSystem(void)
{
UnInitWindowSystem();
InitWindowSystem();
memset(&_thd, 0, sizeof(TileHighlightData));
}
static void DecreaseWindowCounters(void)