(svn r3424) - NewGRF fix: Only power should decide whether a rail vehicle is an engine or a wagon. (fixes SHIKI 810 in jpsetw.grf)

This commit is contained in:
peter1138 2006-01-24 09:33:51 +00:00
parent 098300cc7d
commit ec7d2fbb39
1 changed files with 0 additions and 2 deletions

View File

@ -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 */