From ec7d2fbb39ad750ab76d36d089b79fc8408e17b2 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Tue, 24 Jan 2006 09:33:51 +0000 Subject: (svn r3424) - NewGRF fix: Only power should decide whether a rail vehicle is an engine or a wagon. (fixes SHIKI 810 in jpsetw.grf) --- newgrf.c | 2 -- 1 file changed, 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 */ -- cgit v1.2.3-70-g09d2