Peds: Efforts to find the reason of crashes on GCC 7.5.0

* Prevent deleted peds to be in nearPeds list (was always needed, might be unrelated to crashes)
* Add asserts to nearPeds and PedIK ctor (crash reasons)
* Shouldn't fix reported crashes since they were caused by null peds.
This commit is contained in:
erorcun
2021-07-02 23:56:31 +03:00
parent 987e09515b
commit 4eea98c66b
4 changed files with 30 additions and 7 deletions

View File

@@ -34,7 +34,7 @@ public:
AIMS_WITH_ARM = 4,
};
CPed *m_ped;
CPed *Const m_ped;
LimbOrientation m_headOrient;
LimbOrientation m_torsoOrient;
LimbOrientation m_upperArmOrient;