summaryrefslogtreecommitdiff
path: root/industry_cmd.c
diff options
context:
space:
mode:
authorpasky <pasky@openttd.org>2005-03-27 16:19:07 +0000
committerpasky <pasky@openttd.org>2005-03-27 16:19:07 +0000
commit31c36d3dd4a75eec1a548ef6e66c8c4bac82d3f6 (patch)
tree819b9d391c0526449ccb6ed9ad543f04c88187d1 /industry_cmd.c
parentaafb136cd0aecd6a24a25f4139729e5a2e8169c4 (diff)
downloadopenttd-31c36d3dd4a75eec1a548ef6e66c8c4bac82d3f6.tar.xz
(svn r2090) CheckNewIndustry_Oilwell() -> CheckNewIndustry_Oil() since it was concerning oil rigs and oil rafineries, but specifically NOT oil wells. ;-) Documented that.
Diffstat (limited to 'industry_cmd.c')
-rw-r--r--industry_cmd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/industry_cmd.c b/industry_cmd.c
index 75d278a28..d345bc529 100644
--- a/industry_cmd.c
+++ b/industry_cmd.c
@@ -1179,7 +1179,8 @@ static bool CheckNewIndustry_Forest(uint tile, int type)
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 @@ typedef bool CheckNewIndustryProc(uint tile, int type);
static CheckNewIndustryProc * const _check_new_industry_procs[] = {
CheckNewIndustry_NULL,
CheckNewIndustry_Forest,
- CheckNewIndustry_Oilwell,
+ CheckNewIndustry_Oil,
CheckNewIndustry_Farm,
CheckNewIndustry_Plantation,
CheckNewIndustry_Water,