diff options
author | planetmaker <planetmaker@openttd.org> | 2011-01-30 19:14:48 +0000 |
---|---|---|
committer | planetmaker <planetmaker@openttd.org> | 2011-01-30 19:14:48 +0000 |
commit | df8c4bdbfa27c6d213a15560811c5be4d73ec812 (patch) | |
tree | 12b28c16500c3dde2f725c58e7f5932a30c3a8dd /src/town_gui.cpp | |
parent | 3d34b9e4a2f23cf095a94bb7eb63541ee95fbac3 (diff) | |
download | openttd-df8c4bdbfa27c6d213a15560811c5be4d73ec812.tar.xz |
(svn r21929) -Fix [FS#4554]: The town window would not be invalidated in the scenario editor if the ground changed and thus the required cargos for town growth
Diffstat (limited to 'src/town_gui.cpp')
-rw-r--r-- | src/town_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/town_gui.cpp b/src/town_gui.cpp index 14684a294..fce2a8ce6 100644 --- a/src/town_gui.cpp +++ b/src/town_gui.cpp @@ -525,7 +525,7 @@ public: virtual void OnInvalidateData(int data = 0) { - /* Called when setting station noise have changed, in order to resize the window */ + /* Called when setting station noise or required cargos have changed, in order to resize the window */ this->SetDirty(); // refresh display for current size. This will allow to avoid glitches when downgrading this->ResizeWindowAsNeeded(); } |