summaryrefslogtreecommitdiff
path: root/src/unmovable.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/unmovable.h')
-rw-r--r--src/unmovable.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unmovable.h b/src/unmovable.h
index 56f7b8a9a..8e99cff11 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.clear_roughland * this->sell_cost_multiplier); }
- Money GetBuildingCost() const { return (_price.clear_roughland * this->buy_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); }
};