diff options
author | Darkvater <darkvater@openttd.org> | 2006-01-24 18:08:04 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-01-24 18:08:04 +0000 |
commit | a4807caf6a371798478059e368200b51c5c86ebf (patch) | |
tree | 48144831ab4dc3a925e2ea35cc5b2ed7ed932829 | |
parent | ec7d2fbb39ad750ab76d36d089b79fc8408e17b2 (diff) | |
download | openttd-a4807caf6a371798478059e368200b51c5c86ebf.tar.xz |
(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
-rw-r--r-- | window.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) |