Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Commit

Permalink
Fix cinematic cam disabled after menu close
Browse files Browse the repository at this point in the history
For real this time.
  • Loading branch information
ikt32 committed May 1, 2017
1 parent d5bbe2f commit 1e4790e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Gears/Menu/MenuClass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -635,8 +635,8 @@ void Menu::CheckKeys(MenuControls* controls, std::function<void(void) > onMain,
}
else if (menulevel == 1) {
backMenu();
CAM::SET_CINEMATIC_BUTTON_ACTIVE(1);
if (onExit) {
CAM::SET_CINEMATIC_BUTTON_ACTIVE(1);
onExit();
}

Expand All @@ -647,8 +647,8 @@ void Menu::CheckKeys(MenuControls* controls, std::function<void(void) > onMain,
if (menulevel > 0) { menuTime = menuTimeSlow; }
if (menulevel > 0) {
if (menulevel == 1) {
CAM::SET_CINEMATIC_BUTTON_ACTIVE(1);
if (onExit) {
CAM::SET_CINEMATIC_BUTTON_ACTIVE(1);
onExit();
}
}
Expand Down

0 comments on commit 1e4790e

Please sign in to comment.