summaryrefslogtreecommitdiff
path: root/src/smallmap_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-10-24 09:47:02 +0000
committerrubidium <rubidium@openttd.org>2009-10-24 09:47:02 +0000
commit2f41c0411c270388efefb9bfa8dd7ecf1cf5b10b (patch)
treea449e9f822d676407437b8f6ebdc24fc6459ab48 /src/smallmap_gui.cpp
parentd5a3ec1996cb70624395dd642a6ccc410856a18e (diff)
downloadopenttd-2f41c0411c270388efefb9bfa8dd7ecf1cf5b10b.tar.xz
(svn r17850) -Codechange: remove most usage of delta on OnResize
Diffstat (limited to 'src/smallmap_gui.cpp')
-rw-r--r--src/smallmap_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/smallmap_gui.cpp b/src/smallmap_gui.cpp
index 5a5bf6c73..d1f3a4a3a 100644
--- a/src/smallmap_gui.cpp
+++ b/src/smallmap_gui.cpp
@@ -1135,7 +1135,7 @@ public:
virtual void OnResize(Point delta)
{
- if (delta.x != 0 && this->map_type == SMT_INDUSTRY) this->ResizeLegend();
+ if (this->map_type == SMT_INDUSTRY) this->ResizeLegend();
}
void SmallMapCenterOnCurrentPos()