From f051066bc451479a0c2ff44e2554941628a62f6a Mon Sep 17 00:00:00 2001 From: smatz Date: Wed, 24 Feb 2010 14:46:15 +0000 Subject: (svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit --- src/town_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/town_gui.cpp') diff --git a/src/town_gui.cpp b/src/town_gui.cpp index 56732d5d8..c479939bf 100644 --- a/src/town_gui.cpp +++ b/src/town_gui.cpp @@ -462,7 +462,7 @@ public: if (this->CanDeleteTown()) { delete this->town; } else { - ShowErrorMessage(STR_ERROR_TOWN_CAN_T_DELETE, INVALID_STRING_ID, 0, 0); + ShowErrorMessage(STR_ERROR_TOWN_CAN_T_DELETE, INVALID_STRING_ID, WL_INFO); } break; } @@ -1149,7 +1149,7 @@ public: _generating_world = true; UpdateNearestTownForRoadTiles(true); if (!GenerateTowns(this->town_layout)) { - ShowErrorMessage(STR_ERROR_CAN_T_GENERATE_TOWN, STR_ERROR_NO_SPACE_FOR_TOWN, 0, 0); + ShowErrorMessage(STR_ERROR_CAN_T_GENERATE_TOWN, STR_ERROR_NO_SPACE_FOR_TOWN, WL_INFO); } UpdateNearestTownForRoadTiles(false); _generating_world = false; -- cgit v1.2.3-54-g00ecf