--- a/src/industry_cmd.cpp Tue Nov 27 16:02:13 2007 +0000
+++ b/src/industry_cmd.cpp Tue Nov 27 17:13:49 2007 +0000
@@ -401,7 +401,7 @@
}
if (flags & DC_EXEC) delete i;
- return CommandCost();
+ return CommandCost(indspec->GetRemovalCost());
}
static void TransportIndustryGoods(TileIndex tile)
@@ -2227,6 +2227,11 @@
)) >> 8;
}
+Money IndustrySpec::GetRemovalCost() const
+{
+ return (_price.remove_house * this->removal_cost_multiplier) >> 8;
+}
+
static CommandCost TerraformTile_Industry(TileIndex tile, uint32 flags, uint z_new, Slope tileh_new)
{
if (AutoslopeEnabled()) {