(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...
--- a/src/newgrf.cpp Thu Feb 15 22:03:48 2007 +0000
+++ b/src/newgrf.cpp Fri Feb 16 01:35:18 2007 +0000
@@ -215,7 +215,8 @@
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;