summaryrefslogtreecommitdiff
path: root/src/peds
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-07 16:57:49 +0300
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-07 16:57:49 +0300
commit40888e9486f00aa852c531209bbfe55f24e2e04f (patch)
tree830ce89f85d2e10386d5d697468eee5f5c9e07d7 /src/peds
parenta8d8c0690d65f3d37456791a9d9940b06187e5be (diff)
car control and friends
Diffstat (limited to 'src/peds')
-rw-r--r--src/peds/DummyPed.h1
-rw-r--r--src/peds/Population.cpp1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/peds/DummyPed.h b/src/peds/DummyPed.h
index af633dc4..cace4ead 100644
--- a/src/peds/DummyPed.h
+++ b/src/peds/DummyPed.h
@@ -8,4 +8,3 @@ class CDummyPed : CDummy
int32 pedType;
int32 unknown;
};
-static_assert(sizeof(CDummyPed) == 0x70, "CDummyPed: error");
diff --git a/src/peds/Population.cpp b/src/peds/Population.cpp
index d81648fa..53cf334f 100644
--- a/src/peds/Population.cpp
+++ b/src/peds/Population.cpp
@@ -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;