(svn r11545) -Revert(r11543): The result is not what was expected. Looks like more work might be needed
authorbelugas
Sat, 01 Dec 2007 02:59:22 +0000
changeset 7989 2b4dc1946521
parent 7988 fa2cce262aa9
child 7990 63211992f5c1
(svn r11545) -Revert(r11543): The result is not what was expected. Looks like more work might be needed
src/industry_cmd.cpp
src/lang/english.txt
--- a/src/industry_cmd.cpp	Sat Dec 01 02:47:10 2007 +0000
+++ b/src/industry_cmd.cpp	Sat Dec 01 02:59:22 2007 +0000
@@ -1238,7 +1238,7 @@
 
 			if (ind_behav & (INDUSTRYBEH_ONLY_INTOWN | INDUSTRYBEH_TOWN1200_MORE)) {
 				if (!IsTileType(cur_tile, MP_HOUSE)) {
-					_error_message = STR_INDUSTRY_MUST_BE_BUILT_ON_HOUSE;
+					_error_message = STR_029D_CAN_ONLY_BE_BUILT_IN_TOWNS;
 					return false;
 				}
 				if (CmdFailed(DoCommand(cur_tile, 0, 0, 0, CMD_LANDSCAPE_CLEAR))) return false;
--- a/src/lang/english.txt	Sat Dec 01 02:47:10 2007 +0000
+++ b/src/lang/english.txt	Sat Dec 01 02:59:22 2007 +0000
@@ -749,7 +749,6 @@
 STR_QUIT_SCENARIO_QUERY                                         :{YELLOW}Are you sure you want to quit this scenario ?
 STR_029C_QUIT_EDITOR                                            :{WHITE}Quit Editor
 STR_029D_CAN_ONLY_BE_BUILT_IN_TOWNS                             :{WHITE}...can only be built in towns with a population of at least 1200
-STR_INDUSTRY_MUST_BE_BUILT_ON_HOUSE                             :{WHITE}...can only be built over a house
 STR_029E_MOVE_THE_STARTING_DATE                                 :{BLACK}Move the starting date backward 1 year
 STR_029F_MOVE_THE_STARTING_DATE                                 :{BLACK}Move the starting date forward 1 year
 STR_02A0_ENDS_OF_BRIDGE_MUST_BOTH                               :{WHITE}...ends of bridge must both be on land