changeset 2877:0b288e1a03bf draft

(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
author Darkvater <Darkvater@openttd.org>
date Tue, 24 Jan 2006 18:08:04 +0000
parents 5edf41e4bd01
children a14138a17568
files window.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/window.c
+++ b/window.c
@@ -699,6 +699,8 @@
 	InitWindowSystem();
 	_thd.pos.x = 0;
 	_thd.pos.y = 0;
+	_thd.new_pos.x = 0;
+	_thd.new_pos.y = 0;
 }
 
 static void DecreaseWindowCounters(void)