summaryrefslogtreecommitdiffstats
path: root/src/peds/Ped.cpp
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-03-28 17:12:22 +0100
committerGitHub <noreply@github.com>2020-03-28 17:12:22 +0100
commitc056871e0766c587e45797405f6432715beba810 (patch)
tree8b0d0c7f364decebaaeacc8a328491404213964a /src/peds/Ped.cpp
parentMerge pull request #362 from Fire-Head/master (diff)
parentCCopPed done and #include cleanup (diff)
downloadre3-c056871e0766c587e45797405f6432715beba810.tar
re3-c056871e0766c587e45797405f6432715beba810.tar.gz
re3-c056871e0766c587e45797405f6432715beba810.tar.bz2
re3-c056871e0766c587e45797405f6432715beba810.tar.lz
re3-c056871e0766c587e45797405f6432715beba810.tar.xz
re3-c056871e0766c587e45797405f6432715beba810.tar.zst
re3-c056871e0766c587e45797405f6432715beba810.zip
Diffstat (limited to '')
-rw-r--r--src/peds/Ped.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp
index 05cac3a7..8b83d976 100644
--- a/src/peds/Ped.cpp
+++ b/src/peds/Ped.cpp
@@ -7,13 +7,21 @@
#include "World.h"
#include "RpAnimBlend.h"
#include "Ped.h"
+#include "Wanted.h"
#include "PlayerPed.h"
+#include "PedType.h"
+#include "AnimBlendClumpData.h"
+#include "AnimBlendAssociation.h"
+#include "Fire.h"
+#include "DMAudio.h"
#include "General.h"
#include "SurfaceTable.h"
#include "VisibilityPlugins.h"
#include "AudioManager.h"
#include "HandlingMgr.h"
#include "Replay.h"
+#include "Camera.h"
+#include "Radar.h"
#include "PedPlacement.h"
#include "Shadows.h"
#include "Weather.h"
@@ -552,7 +560,7 @@ CPed::CPed(uint32 pedType) : m_pedIK(this)
bScriptObjectiveCompleted = false;
bKindaStayInSamePlace = false;
- m_ped_flagE2 = false;
+ bBeingChasedByPolice = false;
bNotAllowedToDuck = false;
bCrouchWhenShooting = false;
bIsDucking = false;
@@ -9597,7 +9605,7 @@ CPed::ProcessControl(void)
float neededTurnToCriminal = angleToLookCriminal - angleToFace;
if (neededTurnToCriminal > DEGTORAD(150.0f) && neededTurnToCriminal < DEGTORAD(210.0f)) {
- ((CCopPed*)this)->m_bZoneDisabledButClose = true;
+ ((CCopPed*)this)->m_bStopAndShootDisabledZone = true;
}
}
}