diff options
author | aap <aap@papnet.eu> | 2020-06-25 15:15:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-25 15:15:01 +0200 |
commit | 592a6aef0bb336f1364e6bf38230f3793ec35c4d (patch) | |
tree | 3b8df6abb470acc7b9b55d0e8476e1478ba626c0 /src/control/GameLogic.cpp | |
parent | rename attractor flag to type (diff) | |
parent | CWanted, anim fix, ped objs renaming, remove III beta features (diff) | |
download | re3-592a6aef0bb336f1364e6bf38230f3793ec35c4d.tar re3-592a6aef0bb336f1364e6bf38230f3793ec35c4d.tar.gz re3-592a6aef0bb336f1364e6bf38230f3793ec35c4d.tar.bz2 re3-592a6aef0bb336f1364e6bf38230f3793ec35c4d.tar.lz re3-592a6aef0bb336f1364e6bf38230f3793ec35c4d.tar.xz re3-592a6aef0bb336f1364e6bf38230f3793ec35c4d.tar.zst re3-592a6aef0bb336f1364e6bf38230f3793ec35c4d.zip |
Diffstat (limited to 'src/control/GameLogic.cpp')
-rw-r--r-- | src/control/GameLogic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/GameLogic.cpp b/src/control/GameLogic.cpp index 50e5584d..61b8a0e0 100644 --- a/src/control/GameLogic.cpp +++ b/src/control/GameLogic.cpp @@ -503,7 +503,7 @@ CGameLogic::UpdateShortCut() case SHORTCUT_ARRIVING: if (CTimer::GetTimeInMilliseconds() > ShortCutTimer) { CWorld::Players[CWorld::PlayerInFocus].m_nMoney = Max(0, CWorld::Players[CWorld::PlayerInFocus].m_nMoney - SHORTCUT_TAXI_COST); - FindPlayerPed()->SetObjective(OBJECTIVE_LEAVE_VEHICLE, pShortCutTaxi); + FindPlayerPed()->SetObjective(OBJECTIVE_LEAVE_CAR, pShortCutTaxi); FindPlayerPed()->m_carInObjective = pShortCutTaxi; ShortCutState = SHORTCUT_GETTING_OUT; } |