(svn r8753) -Regression (r8455): Do not unilateraly decide that this engine is a single-headed. Only do it if it previously had no power and that now there is. Or something...

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
belugas 18 years ago
parent 2b307647da
commit 4d988c3506

@ -215,7 +215,8 @@ static void dewagonize(int condition, int engine)
if (condition != 0) {
ei->unk2 &= ~0x80;
rvi->railveh_type = RAILVEH_SINGLEHEAD;
if (rvi->railveh_type == RAILVEH_WAGON)
rvi->railveh_type = RAILVEH_SINGLEHEAD;
} else {
ei->unk2 |= 0x80;
rvi->railveh_type = RAILVEH_WAGON;

Loading…
Cancel
Save