summaryrefslogtreecommitdiff
path: root/src/misc_gui.cpp
diff options
context:
space:
mode:
authorYexo <yexo@openttd.org>2009-01-19 15:06:11 +0000
committerYexo <yexo@openttd.org>2009-01-19 15:06:11 +0000
commit8b04787d09771797520569e7bff9c570bfb26c18 (patch)
tree92978704d808ea4d5ae940118d8f47f1957d0450 /src/misc_gui.cpp
parent49e69399a6e8b59a4a0b2b95af7a3801585b7fb9 (diff)
downloadopenttd-8b04787d09771797520569e7bff9c570bfb26c18.tar.xz
(svn r15151) -Fix: tile 0 can now be highlighted as error tile
Diffstat (limited to 'src/misc_gui.cpp')
-rw-r--r--src/misc_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp
index 81a67b192..bc588a447 100644
--- a/src/misc_gui.cpp
+++ b/src/misc_gui.cpp
@@ -505,7 +505,7 @@ public:
~ErrmsgWindow()
{
- SetRedErrorSquare(0);
+ SetRedErrorSquare(INVALID_TILE);
extern StringID _switch_mode_errorstr;
_switch_mode_errorstr = INVALID_STRING_ID;
}