(svn r16615) -Fix (r16613): 0x10 != 2

This commit is contained in:
yexo 2009-06-21 13:30:21 +00:00
parent c7bd6c8d34
commit 2aeaa7a11a
1 changed files with 1 additions and 1 deletions

View File

@ -695,7 +695,7 @@ static uint32 VehicleGetVariable(const ResolverObject *object, byte variable, by
/* General vehicle properties */
switch (variable - 0x80) {
case 0x00: return v->type + 2;
case 0x00: return v->type + 0x10;
case 0x01: return MapOldSubType(v);
case 0x04: return v->index;
case 0x05: return GB(v->index, 8, 8);