From a4807caf6a371798478059e368200b51c5c86ebf Mon Sep 17 00:00:00 2001 From: Darkvater Date: Tue, 24 Jan 2006 18:08:04 +0000 Subject: (svn r3425) - Fix: Followup to r3421. Correctly reset the TileHighLightData structure to prevent crashes in all the other cases where it is not guarded against sufficiently --- window.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/window.c b/window.c index 1923288ae..a1f6b4973 100644 --- a/window.c +++ b/window.c @@ -699,6 +699,8 @@ void ResetWindowSystem(void) InitWindowSystem(); _thd.pos.x = 0; _thd.pos.y = 0; + _thd.new_pos.x = 0; + _thd.new_pos.y = 0; } static void DecreaseWindowCounters(void) -- cgit v1.2.3-54-g00ecf