1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-24 23:19:09 +00:00

(svn r26996) -Codechange: Don't clamp airport construction window size -- this causes very poor performance if the game window is not large enough.

This commit is contained in:
2014-10-12 10:48:18 +00:00
parent b8690523d2
commit cb62e83e0e

View File

@@ -413,7 +413,7 @@ public:
* Never make the window smaller to avoid oscillating if the size change affects the acceptance.
* (This is the case, if making the window bigger moves the mouse into the window.) */
if (top > bottom) {
ResizeWindow(this, 0, top - bottom);
ResizeWindow(this, 0, top - bottom, false);
}
}