diff options
author | frosch <frosch@openttd.org> | 2009-11-24 22:15:42 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2009-11-24 22:15:42 +0000 |
commit | 830231e2bda3a2a68d3e8cc466059d8b5fcadb63 (patch) | |
tree | 24750800d52789ced0c719b59afa832fbc5a91cc /src/unmovable.h | |
parent | 8da21d58a9e50d1e08a94bb7cba83fec040f741b (diff) | |
download | openttd-830231e2bda3a2a68d3e8cc466059d8b5fcadb63.tar.xz |
(svn r18283) -Feature: [NewGRF] Add new price bases for removing industries, building/removing unmovables (new objects), building/removing rail-waypoints/buoys, interacting with town-authority, building foundations, funding primary industries (when not prospecting) and towns.
If a GRF does not set price multipliers for these new prices, but for the previously used ones, the old modifiers will be propagated to the new bases.
Diffstat (limited to 'src/unmovable.h')
-rw-r--r-- | src/unmovable.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unmovable.h b/src/unmovable.h index 8e99cff11..8709bdc43 100644 --- a/src/unmovable.h +++ b/src/unmovable.h @@ -23,8 +23,8 @@ struct UnmovableSpec { uint8 buy_cost_multiplier; uint8 sell_cost_multiplier; - Money GetRemovalCost() const { return (_price[PR_CLEAR_ROUGH] * this->sell_cost_multiplier); } - Money GetBuildingCost() const { return (_price[PR_CLEAR_ROUGH] * this->buy_cost_multiplier); } + Money GetRemovalCost() const { return (_price[PR_CLEAR_UNMOVABLE] * this->sell_cost_multiplier); } + Money GetBuildingCost() const { return (_price[PR_BUILD_UNMOVABLE] * this->buy_cost_multiplier); } }; |