From 830231e2bda3a2a68d3e8cc466059d8b5fcadb63 Mon Sep 17 00:00:00 2001 From: frosch Date: Tue, 24 Nov 2009 22:15:42 +0000 Subject: (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. --- src/unmovable.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/unmovable.h') 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); } }; -- cgit v1.2.3-70-g09d2