void CCinematicInput::OnEndCutScene( int cutSceneFlags ) { m_cutsceneRunningCount = max(m_cutsceneRunningCount - 1, 0); if (m_cutsceneRunningCount == 0) { ClearCutSceneScriptVariables(); } if (cutSceneFlags & IAnimSequence::NO_PLAYER) { m_cutscenesNoPlayerRunningCount = max(m_cutscenesNoPlayerRunningCount - 1, 0); if (m_cutscenesNoPlayerRunningCount == 0) { ReEnablePlayerAfterCutscenes(); } } }
void CCinematicInput::OnEndCutScene( int cutSceneFlags ) { m_cutsceneRunningCount = max(m_cutsceneRunningCount - 1, 0); if (m_cutsceneRunningCount == 0) { ClearCutSceneVariables(); } if (cutSceneFlags & IAnimSequence::eSeqFlags_NoPlayer) { m_cutscenesNoPlayerRunningCount = max(m_cutscenesNoPlayerRunningCount - 1, 0); if (m_cutscenesNoPlayerRunningCount == 0) { ReEnablePlayerAfterCutscenes(); } } else { // restore the old third/first player setup after playing the camera controlled cutscene TogglePlayerThirdPerson(false); } }