summaryrefslogtreecommitdiffstats
path: root/src/peds
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-07 15:57:49 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-07 15:57:49 +0200
commit40888e9486f00aa852c531209bbfe55f24e2e04f (patch)
tree830ce89f85d2e10386d5d697468eee5f5c9e07d7 /src/peds
parentchanged default ID ranges. old default.ide incompatible now (diff)
downloadre3-40888e9486f00aa852c531209bbfe55f24e2e04f.tar
re3-40888e9486f00aa852c531209bbfe55f24e2e04f.tar.gz
re3-40888e9486f00aa852c531209bbfe55f24e2e04f.tar.bz2
re3-40888e9486f00aa852c531209bbfe55f24e2e04f.tar.lz
re3-40888e9486f00aa852c531209bbfe55f24e2e04f.tar.xz
re3-40888e9486f00aa852c531209bbfe55f24e2e04f.tar.zst
re3-40888e9486f00aa852c531209bbfe55f24e2e04f.zip
Diffstat (limited to '')
-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;