From cb62e83e0e48c30171146f86ee78caf0d1246cce Mon Sep 17 00:00:00 2001 From: peter1138 Date: Sun, 12 Oct 2014 10:48:18 +0000 Subject: (svn r26996) -Codechange: Don't clamp airport construction window size -- this causes very poor performance if the game window is not large enough. --- src/airport_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/airport_gui.cpp b/src/airport_gui.cpp index b4c056d50..29a0d83ad 100644 --- a/src/airport_gui.cpp +++ b/src/airport_gui.cpp @@ -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); } } -- cgit v1.2.3-70-g09d2