1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-17 17:32:45 +01:00

(svn r17850) -Codechange: remove most usage of delta on OnResize

This commit is contained in:
rubidium
2009-10-24 09:47:02 +00:00
parent d5a3ec1996
commit 2f41c0411c
4 changed files with 4 additions and 8 deletions

View File

@@ -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()