car control and friends

This commit is contained in:
Nikolay Korolev
2020-05-07 16:57:49 +03:00
parent a8d8c0690d
commit 40888e9486
13 changed files with 189 additions and 128 deletions

View File

@ -8,4 +8,3 @@ class CDummyPed : CDummy
int32 pedType;
int32 unknown;
};
static_assert(sizeof(CDummyPed) == 0x70, "CDummyPed: error");

View File

@ -734,6 +734,7 @@ CPopulation::AddPedInCar(CVehicle* car)
pedType = PEDTYPE_COP;
break;
case MI_POLICE:
case MI_PREDATOR:
preferredModel = COP_STREET;
pedType = PEDTYPE_COP;
break;