(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...

pull/155/head
belugas 18 years ago
parent 52bdfa5c63
commit 8a466c2e2f

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