mirror of https://github.com/OpenTTD/OpenTTD
(svn r2090) CheckNewIndustry_Oilwell() -> CheckNewIndustry_Oil() since it was concerning oil rigs and oil rafineries, but specifically NOT oil wells. ;-) Documented that.
parent
aafb136cd0
commit
31c36d3dd4
|
@ -1179,7 +1179,8 @@ static bool CheckNewIndustry_Forest(uint tile, int type)
|
||||||
|
|
||||||
extern bool _ignore_restrictions;
|
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)
|
if(_ignore_restrictions && _game_mode == GM_EDITOR)
|
||||||
return true;
|
return true;
|
||||||
|
@ -1246,7 +1247,7 @@ typedef bool CheckNewIndustryProc(uint tile, int type);
|
||||||
static CheckNewIndustryProc * const _check_new_industry_procs[] = {
|
static CheckNewIndustryProc * const _check_new_industry_procs[] = {
|
||||||
CheckNewIndustry_NULL,
|
CheckNewIndustry_NULL,
|
||||||
CheckNewIndustry_Forest,
|
CheckNewIndustry_Forest,
|
||||||
CheckNewIndustry_Oilwell,
|
CheckNewIndustry_Oil,
|
||||||
CheckNewIndustry_Farm,
|
CheckNewIndustry_Farm,
|
||||||
CheckNewIndustry_Plantation,
|
CheckNewIndustry_Plantation,
|
||||||
CheckNewIndustry_Water,
|
CheckNewIndustry_Water,
|
||||||
|
|
Loading…
Reference in New Issue