diff options
| author | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-07-02 23:56:31 +0300 |
|---|---|---|
| committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-07-03 01:30:54 +0300 |
| commit | 424a6d90bd154e0b657e394b6dfced585fed01bd (patch) | |
| tree | 33e89f7669daba5a5cd87cbaa611b0d7c95e8a34 /src/peds/PedIK.h | |
| parent | Sanitizer fixes (diff) | |
| download | re3-424a6d90bd154e0b657e394b6dfced585fed01bd.tar.gz | |
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.
Diffstat (limited to 'src/peds/PedIK.h')
| -rw-r--r-- | src/peds/PedIK.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peds/PedIK.h b/src/peds/PedIK.h index 4eeef6f0..9077fbea 100644 --- a/src/peds/PedIK.h +++ b/src/peds/PedIK.h @@ -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; |
