summaryrefslogtreecommitdiff
path: root/openttd.c
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-01-23 19:12:35 +0000
committerpeter1138 <peter1138@openttd.org>2006-01-23 19:12:35 +0000
commite2c90e8f5a6a8f95adc8705fe180207b895fb22f (patch)
treec39194f0717a2c8b05575f3e9c42728e3a79ff04 /openttd.c
parent79e5f8286c383055bed16ace6dfced9a8d2210f5 (diff)
downloadopenttd-e2c90e8f5a6a8f95adc8705fe180207b895fb22f.tar.xz
(svn r3421) - Revert r3412 as it didn't work.
- Fix station builder issue by checking the tile is in bounds.
Diffstat (limited to 'openttd.c')
-rw-r--r--openttd.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/openttd.c b/openttd.c
index d30e44bf5..28c97c3b5 100644
--- a/openttd.c
+++ b/openttd.c
@@ -814,10 +814,6 @@ void SwitchMode(int new_mode)
if (_switch_mode_errorstr != INVALID_STRING_ID)
ShowErrorMessage(INVALID_STRING_ID,_switch_mode_errorstr,0,0);
-
- // Reset the TileHighlightData as it may be out of bounds if
- // the new map is smaller than the old map.
- memset(&_thd, 0, sizeof(_thd));
}