Skip to content

Commit

Permalink
Update main.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ZiLko authored Feb 25, 2024
1 parent 7fc2658 commit d6fec66
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,9 @@ class recordSystem {
bool plat = bgl->m_levelSettings->m_platformerMode;
realp1 = (GameManager::get()->getGameVariable("0010") && (!plat || button == 1)) ? !player1 : player1;
if (macro.size() >= 2 && plat) {
if (button == 1) {
if (macro.back().holding == macro[macro.size()-2].holding &&
macro.back().frame == macro[macro.size()-2].frame && macro[macro.size()-2].button != 1)
macro.pop_back();
}
}
}
else realp1 = player1;
Expand Down

0 comments on commit d6fec66

Please sign in to comment.