(svn r2090) CheckNewIndustry_Oilwell() -> CheckNewIndustry_Oil() since it was concerning oil rigs and oil rafineries, but specifically NOT oil wells. ;-) Documented that.
authorpasky
Sun, 27 Mar 2005 16:19:07 +0000
changeset 1586 d2d8ceccd935
parent 1585 3dc279e97623
child 1587 e6bcc5a3cb86
(svn r2090) CheckNewIndustry_Oilwell() -> CheckNewIndustry_Oil() since it was concerning oil rigs and oil rafineries, but specifically NOT oil wells. ;-) Documented that.
industry_cmd.c
--- a/industry_cmd.c	Sun Mar 27 15:56:54 2005 +0000
+++ b/industry_cmd.c	Sun Mar 27 16:19:07 2005 +0000
@@ -1179,7 +1179,8 @@
 
 extern bool _ignore_restrictions;
 
-static bool CheckNewIndustry_Oilwell(uint tile, int type)
+/* Oil Rig and Oil Refinery */
+static bool CheckNewIndustry_Oil(uint tile, int type)
 {
 	if(_ignore_restrictions && _game_mode == GM_EDITOR)
 		return true;
@@ -1246,7 +1247,7 @@
 static CheckNewIndustryProc * const _check_new_industry_procs[] = {
 	CheckNewIndustry_NULL,
 	CheckNewIndustry_Forest,
-	CheckNewIndustry_Oilwell,
+	CheckNewIndustry_Oil,
 	CheckNewIndustry_Farm,
 	CheckNewIndustry_Plantation,
 	CheckNewIndustry_Water,