summaryrefslogtreecommitdiff
path: root/src/peds/PedIK.h
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-07-02 23:56:31 +0300
committererorcun <erorcunerorcun@hotmail.com.tr>2021-07-03 01:30:54 +0300
commit424a6d90bd154e0b657e394b6dfced585fed01bd (patch)
tree33e89f7669daba5a5cd87cbaa611b0d7c95e8a34 /src/peds/PedIK.h
parentSanitizer fixes (diff)
downloadre3-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.h2
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;