summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-01-24 09:33:51 +0000
committerpeter1138 <peter1138@openttd.org>2006-01-24 09:33:51 +0000
commitec7d2fbb39ad750ab76d36d089b79fc8408e17b2 (patch)
tree5f42922ac8f68c77661bed85da756f3c0f28a7b6
parent098300cc7dbff4e57c4d7fc916be3b4d7e174bd3 (diff)
downloadopenttd-ec7d2fbb39ad750ab76d36d089b79fc8408e17b2.tar.xz
(svn r3424) - NewGRF fix: Only power should decide whether a rail vehicle is an engine or a wagon. (fixes SHIKI 810 in jpsetw.grf)
-rw-r--r--newgrf.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/newgrf.c b/newgrf.c
index 94a93e239..695f6cb62 100644
--- a/newgrf.c
+++ b/newgrf.c
@@ -255,7 +255,6 @@ static bool RailVehicleChangeInfo(uint engine, int numinfo, int prop, byte **buf
runcostfact /= 2;
rvi[i].running_cost_base = runcostfact;
- dewagonize(runcostfact, engine + i);
}
} break;
case 0x0E: { /* Running cost base */
@@ -267,7 +266,6 @@ static bool RailVehicleChangeInfo(uint engine, int numinfo, int prop, byte **buf
case 0x4C36: rvi[i].running_cost_class = 1; break;
case 0x4C3C: rvi[i].running_cost_class = 2; break;
}
- dewagonize(base, engine + i);
}
} break;
case 0x12: { /* Sprite ID */