(svn r5320) - NewGRF: make sets using TTDPatch's train reversing hack/feature happier (and consistent) by returning 0 for the flag it uses.

This commit is contained in:
peter1138 2006-06-20 13:15:56 +00:00
parent 02e9656ec3
commit 7e7e8a6c6b
1 changed files with 1 additions and 0 deletions

View File

@ -727,6 +727,7 @@ static uint32 VehicleGetVariable(const ResolverObject *object, byte variable, by
case 0x77: return v->u.rail.cached_power & 0xFF;
case 0x7C: return v->first->index;
case 0x7D: return v->first->index & 0xFF;
case 0x7F: return 0; // Used for vehicle reversing hack in TTDP
}
break;