summaryrefslogtreecommitdiffstats
path: root/src/animation/CutsceneMgr.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-06-22 12:27:25 +0200
committerGitHub <noreply@github.com>2020-06-22 12:27:25 +0200
commit043f09f3fb08178eaea7e07da395dcb7b710249f (patch)
tree3b0cb6f663e297ac8cef52b8803408159d9a1e19 /src/animation/CutsceneMgr.cpp
parentFOV fix (diff)
parentupdated player control names (diff)
downloadre3-043f09f3fb08178eaea7e07da395dcb7b710249f.tar
re3-043f09f3fb08178eaea7e07da395dcb7b710249f.tar.gz
re3-043f09f3fb08178eaea7e07da395dcb7b710249f.tar.bz2
re3-043f09f3fb08178eaea7e07da395dcb7b710249f.tar.lz
re3-043f09f3fb08178eaea7e07da395dcb7b710249f.tar.xz
re3-043f09f3fb08178eaea7e07da395dcb7b710249f.tar.zst
re3-043f09f3fb08178eaea7e07da395dcb7b710249f.zip
Diffstat (limited to 'src/animation/CutsceneMgr.cpp')
-rw-r--r--src/animation/CutsceneMgr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/animation/CutsceneMgr.cpp b/src/animation/CutsceneMgr.cpp
index 230e22fb..9f76e7a1 100644
--- a/src/animation/CutsceneMgr.cpp
+++ b/src/animation/CutsceneMgr.cpp
@@ -230,7 +230,7 @@ CCutsceneMgr::LoadCutsceneData(const char *szCutsceneName)
pPlayerPed->m_pWanted->ClearQdCrimes();
pPlayerPed->bIsVisible = false;
pPlayerPed->m_fCurrentStamina = pPlayerPed->m_fMaxStamina;
- CPad::GetPad(0)->DisablePlayerControls |= PLAYERCONTROL_DISABLED_80;
+ CPad::GetPad(0)->SetDisablePlayerControls(PLAYERCONTROL_CUTSCENE);
CWorld::Players[CWorld::PlayerInFocus].MakePlayerSafe(true);
}
@@ -365,7 +365,7 @@ CCutsceneMgr::DeleteCutsceneData(void)
ms_loaded = false;
FindPlayerPed()->bIsVisible = true;
- CPad::GetPad(0)->DisablePlayerControls &= ~PLAYERCONTROL_DISABLED_80;
+ CPad::GetPad(0)->SetEnablePlayerControls(PLAYERCONTROL_CUTSCENE);
CWorld::Players[CWorld::PlayerInFocus].MakePlayerSafe(false);
if (CGeneral::faststricmp(ms_cutsceneName, "end")) {