Skip to content

Commit

Permalink
Remove patch-flag checks for debugging info
Browse files Browse the repository at this point in the history
  • Loading branch information
florianessl committed May 23, 2024
1 parent f77bd4f commit a0ecb8d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions src/game_interpreter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,8 @@ void Game_Interpreter::Push(
frame.current_command = 0;
frame.triggered_by_decision_key = started_by_decision_key;
frame.event_id = event_id;
if (Player::IsPatchManiac() || Player::HasEasyRpgExtensions()) {
frame.maniac_event_id = event_id;
frame.maniac_event_page_id = event_page_id;
}
frame.maniac_event_id = event_id;
frame.maniac_event_page_id = event_page_id;

if (_state.stack.empty() && main_flag && !Game_Battle::IsBattleRunning()) {
Main_Data::game_system->ClearMessageFace();
Expand Down
2 changes: 1 addition & 1 deletion src/window_interpreter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ void Window_Interpreter::Refresh() {
for (int i = state.stack.size() - 1; i >= 0; i--) {
int evt_id = state.stack[i].event_id;
int page_id = 0;
if ((Player::IsPatchManiac() || Player::HasEasyRpgExtensions()) && state.stack[i].maniac_event_id > 0) {
if (state.stack[i].maniac_event_id > 0) {
evt_id = state.stack[i].maniac_event_id;
page_id = state.stack[i].maniac_event_page_id;
}
Expand Down

0 comments on commit a0ecb8d

Please sign in to comment.