summaryrefslogtreecommitdiffstats
path: root/src/peds/CivilianPed.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-03-02 01:03:39 +0100
committereray orçunus <erayorcunus@gmail.com>2020-03-02 01:06:52 +0100
commita718e699ad3666f7309d7d922f929e9ec52d96d8 (patch)
treeee6cb8fbeec9622d4dd7dab02022592540de30ff /src/peds/CivilianPed.cpp
parentMerge pull request #336 from Nick007J/master (diff)
downloadre3-a718e699ad3666f7309d7d922f929e9ec52d96d8.tar
re3-a718e699ad3666f7309d7d922f929e9ec52d96d8.tar.gz
re3-a718e699ad3666f7309d7d922f929e9ec52d96d8.tar.bz2
re3-a718e699ad3666f7309d7d922f929e9ec52d96d8.tar.lz
re3-a718e699ad3666f7309d7d922f929e9ec52d96d8.tar.xz
re3-a718e699ad3666f7309d7d922f929e9ec52d96d8.tar.zst
re3-a718e699ad3666f7309d7d922f929e9ec52d96d8.zip
Diffstat (limited to 'src/peds/CivilianPed.cpp')
-rw-r--r--src/peds/CivilianPed.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peds/CivilianPed.cpp b/src/peds/CivilianPed.cpp
index e0950688..bb61e086 100644
--- a/src/peds/CivilianPed.cpp
+++ b/src/peds/CivilianPed.cpp
@@ -151,7 +151,7 @@ CCivilianPed::CivilianAI(void)
SetLookFlag(angleToFace, true);
SetLookTimer(500);
} else if (eventDistSqr < sq(40.0f)) {
- if (m_ped_flagD2) {
+ if (bGonnaInvestigateEvent) {
if (CharCreatedBy != MISSION_CHAR && !IsGangMember())
SetInvestigateEvent(EVENT_EXPLOSION, m_eventOrThreat, 6.0f, 30000, 0.0f);