diff options
author | peter1138 <peter1138@openttd.org> | 2006-01-24 09:33:51 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-01-24 09:33:51 +0000 |
commit | ec7d2fbb39ad750ab76d36d089b79fc8408e17b2 (patch) | |
tree | 5f42922ac8f68c77661bed85da756f3c0f28a7b6 | |
parent | 098300cc7dbff4e57c4d7fc916be3b4d7e174bd3 (diff) | |
download | openttd-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.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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 */ |