Mercurial > hg > openttd
changeset 2876:5edf41e4bd01 draft
(svn r3424) - NewGRF fix: Only power should decide whether a rail vehicle is an engine or a wagon. (fixes SHIKI 810 in jpsetw.grf)
author | peter1138 <peter1138@openttd.org> |
---|---|
date | Tue, 24 Jan 2006 09:33:51 +0000 |
parents | 624fef9789c1 |
children | 0b288e1a03bf |
files | newgrf.c |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/newgrf.c +++ b/newgrf.c @@ -255,7 +255,6 @@ runcostfact /= 2; rvi[i].running_cost_base = runcostfact; - dewagonize(runcostfact, engine + i); } } break; case 0x0E: { /* Running cost base */ @@ -267,7 +266,6 @@ 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 */