summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordominik <dominik@openttd.org>2004-08-10 21:28:43 +0000
committerdominik <dominik@openttd.org>2004-08-10 21:28:43 +0000
commit9c4abb643cc0d9db718dc2c2deb6ce016bd06c33 (patch)
tree74a5fdd3475ebaa80c5c37754a9d0178fdf0b22f
parente475edd548a08501dc72a947bda511a116c4f51e (diff)
downloadopenttd-9c4abb643cc0d9db718dc2c2deb6ce016bd06c33.tar.xz
(svn r16) Fix: Train refit cost based on _price.ship_base
-rw-r--r--train_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/train_cmd.c b/train_cmd.c
index b17248389..2c89bac4b 100644
--- a/train_cmd.c
+++ b/train_cmd.c
@@ -1015,7 +1015,7 @@ int32 CmdRefitRailVehicle(int x, int y, uint32 flags, uint32 p1, uint32 p2)
do {
if (!(_rail_vehicle_info[v->engine_type].flags & RVI_WAGON) && (byte)p2 != v->cargo_type && v->cargo_cap != 0) {
- cost += (_price.ship_base >> 7);
+ cost += (_price.build_railvehicle >> 8);
num += v->cargo_cap;
if (flags & DC_EXEC) {
v->cargo_count = 0;