summaryrefslogtreecommitdiff
path: root/src/terraform_gui.cpp
diff options
context:
space:
mode:
authorplanetmaker <planetmaker@openttd.org>2011-01-30 19:14:48 +0000
committerplanetmaker <planetmaker@openttd.org>2011-01-30 19:14:48 +0000
commitdf8c4bdbfa27c6d213a15560811c5be4d73ec812 (patch)
tree12b28c16500c3dde2f725c58e7f5932a30c3a8dd /src/terraform_gui.cpp
parent3d34b9e4a2f23cf095a94bb7eb63541ee95fbac3 (diff)
downloadopenttd-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/terraform_gui.cpp')
-rw-r--r--src/terraform_gui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/terraform_gui.cpp b/src/terraform_gui.cpp
index 11cb0a4d8..bf26910e3 100644
--- a/src/terraform_gui.cpp
+++ b/src/terraform_gui.cpp
@@ -59,6 +59,7 @@ static void GenerateDesertArea(TileIndex end, TileIndex start)
MarkTileDirtyByTile(tile);
}
_generating_world = false;
+ InvalidateWindowClassesData(WC_TOWN_VIEW, 0);
}
/** Scenario editor command that generates rocky areas */