summaryrefslogtreecommitdiff
path: root/src/smallmap_gui.cpp
diff options
context:
space:
mode:
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()