1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-16 11:09:11 +00:00

(svn r18276) -Fix: [NoAI] Make AIIndustryType::GetConstructionCost() return -1, if the industry is neither buildable nor prospectable.

This commit is contained in:
frosch
2009-11-24 17:56:45 +00:00
parent 7d355a58f3
commit 91865c33da
2 changed files with 8 additions and 7 deletions

View File

@@ -6934,7 +6934,7 @@
Id: 9
IsRawIndustry(): true
ProductionCanIncrease(): true
GetConstructionCost(): 747070
GetConstructionCost(): -1
GetName(): Farm
CanBuildIndustry(): false
CanProspectIndustry(): false
@@ -6944,7 +6944,7 @@
Id: 5
IsRawIndustry(): true
ProductionCanIncrease(): true
GetConstructionCost(): 747070
GetConstructionCost(): -1
GetName(): Oil Rig
CanBuildIndustry(): false
CanProspectIndustry(): false
@@ -6964,7 +6964,7 @@
Id: 11
IsRawIndustry(): true
ProductionCanIncrease(): false
GetConstructionCost(): 747070
GetConstructionCost(): -1
GetName(): Oil Wells
CanBuildIndustry(): false
CanProspectIndustry(): false
@@ -6984,7 +6984,7 @@
Id: 3
IsRawIndustry(): true
ProductionCanIncrease(): true
GetConstructionCost(): 747070
GetConstructionCost(): -1
GetName(): Forest
CanBuildIndustry(): false
CanProspectIndustry(): false
@@ -7004,7 +7004,7 @@
Id: 18
IsRawIndustry(): true
ProductionCanIncrease(): true
GetConstructionCost(): 747070
GetConstructionCost(): -1
GetName(): Iron Ore Mine
CanBuildIndustry(): false
CanProspectIndustry(): false
@@ -7014,7 +7014,7 @@
Id: 0
IsRawIndustry(): true
ProductionCanIncrease(): true
GetConstructionCost(): 747070
GetConstructionCost(): -1
GetName(): Coal Mine
CanBuildIndustry(): false
CanProspectIndustry(): false