summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--window.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/window.c b/window.c
index 1b4b3773c..021269455 100644
--- a/window.c
+++ b/window.c
@@ -716,7 +716,8 @@ void ResetWindowSystem(void)
{
UnInitWindowSystem();
InitWindowSystem();
- memset(&_thd, 0, sizeof(TileHighlightData));
+ _thd.pos.x = 0;
+ _thd.pos.y = 0;
}
static void DecreaseWindowCounters(void)