(svn r17603) -Codechange: since now, towns are 'founded' instead of 'built'
This commit is contained in:
@@ -343,7 +343,7 @@ public:
|
||||
this->HandleButtonClick(DPIW_FUND_WIDGET);
|
||||
|
||||
if (Town::GetNumItems() == 0) {
|
||||
ShowErrorMessage(STR_ERROR_MUST_BUILD_TOWN_FIRST, STR_ERROR_CAN_T_GENERATE_INDUSTRIES, 0, 0);
|
||||
ShowErrorMessage(STR_ERROR_MUST_FOUND_TOWN_FIRST, STR_ERROR_CAN_T_GENERATE_INDUSTRIES, 0, 0);
|
||||
} else {
|
||||
extern void GenerateIndustries();
|
||||
_generating_world = true;
|
||||
@@ -378,7 +378,7 @@ public:
|
||||
/* Show error if no town exists at all */
|
||||
if (Town::GetNumItems() == 0) {
|
||||
SetDParam(0, indsp->name);
|
||||
ShowErrorMessage(STR_ERROR_MUST_BUILD_TOWN_FIRST, STR_ERROR_CAN_T_BUILD_HERE, pt.x, pt.y);
|
||||
ShowErrorMessage(STR_ERROR_MUST_FOUND_TOWN_FIRST, STR_ERROR_CAN_T_BUILD_HERE, pt.x, pt.y);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user