summaryrefslogtreecommitdiffstats
path: root/src/core/PlayerInfo.cpp
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-06-03 16:06:07 +0200
committerGitHub <noreply@github.com>2020-06-03 16:06:07 +0200
commit1e2b087601747c5031f48badf016c768b032976e (patch)
tree4ad32e600c365326d721db8d3d6359e7b4d7f00d /src/core/PlayerInfo.cpp
parentget rid of III code (diff)
parentPeds, eSound and PedState enum, fixes (diff)
downloadre3-1e2b087601747c5031f48badf016c768b032976e.tar
re3-1e2b087601747c5031f48badf016c768b032976e.tar.gz
re3-1e2b087601747c5031f48badf016c768b032976e.tar.bz2
re3-1e2b087601747c5031f48badf016c768b032976e.tar.lz
re3-1e2b087601747c5031f48badf016c768b032976e.tar.xz
re3-1e2b087601747c5031f48badf016c768b032976e.tar.zst
re3-1e2b087601747c5031f48badf016c768b032976e.zip
Diffstat (limited to 'src/core/PlayerInfo.cpp')
-rw-r--r--src/core/PlayerInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/PlayerInfo.cpp b/src/core/PlayerInfo.cpp
index 08c8ac36..0be5f73e 100644
--- a/src/core/PlayerInfo.cpp
+++ b/src/core/PlayerInfo.cpp
@@ -402,7 +402,7 @@ CPlayerInfo::Process(void)
else
enterOrExitVeh = CPad::GetPad(0)->GetExitVehicle();
- if (enterOrExitVeh && m_pPed->m_nPedState != PED_SNIPER_MODE && m_pPed->m_nPedState != PED_ROCKET_ODE) {
+ if (enterOrExitVeh && m_pPed->m_nPedState != PED_SNIPER_MODE && m_pPed->m_nPedState != PED_ROCKET_MODE) {
if (m_pPed->bInVehicle) {
if (!m_pRemoteVehicle) {
CEntity *surfaceBelowVeh = m_pPed->m_pMyVehicle->m_pCurGroundEntity;