diff options
author | erorcun <erayorcunus@gmail.com> | 2020-03-02 03:09:51 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-02 03:09:51 +0300 |
commit | de68d726a3dc005d9dd395a42d393bc1f43104d4 (patch) | |
tree | ee6cb8fbeec9622d4dd7dab02022592540de30ff /src/core/PlayerInfo.cpp | |
parent | f72453d03e7758074b9dd388ace6d651b45ec3d9 (diff) | |
parent | a718e699ad3666f7309d7d922f929e9ec52d96d8 (diff) |
Merge pull request #340 from erorcun/erorcun
Fixes and cleanup
Diffstat (limited to 'src/core/PlayerInfo.cpp')
-rw-r--r-- | src/core/PlayerInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/PlayerInfo.cpp b/src/core/PlayerInfo.cpp index 633be810..05f3984c 100644 --- a/src/core/PlayerInfo.cpp +++ b/src/core/PlayerInfo.cpp @@ -387,7 +387,7 @@ CPlayerInfo::Process(void) // Because vehicle enter/exit use same key binding.
bool enterOrExitVeh;
- if (m_pPed->m_ped_flagI4 && m_pPed->bInVehicle)
+ if (m_pPed->bVehExitWillBeInstant && m_pPed->bInVehicle)
enterOrExitVeh = CPad::GetPad(0)->ExitVehicleJustDown();
else
enterOrExitVeh = CPad::GetPad(0)->GetExitVehicle();
|