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

pull/155/head
yexo 15 years ago
parent 679ffee940
commit 2c82d10226

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

Loading…
Cancel
Save