From df8c4bdbfa27c6d213a15560811c5be4d73ec812 Mon Sep 17 00:00:00 2001 From: planetmaker Date: Sun, 30 Jan 2011 19:14:48 +0000 Subject: (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 --- src/terraform_gui.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/terraform_gui.cpp') 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 */ -- cgit v1.2.3-54-g00ecf