Skip to content

Commit

Permalink
The wrong entry was being removed from the rules selection combobox
Browse files Browse the repository at this point in the history
  • Loading branch information
edo9300 committed Apr 4, 2020
1 parent 8cbc4b9 commit 350ecbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gframe/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2402,7 +2402,7 @@ void Game::UpdateDuelParam() {
if (chkTypeLimit[i]->isChecked()) {
flag2 |= limits[i];
}
#define CHECK(MR) case DUEL_MODE_MR##MR:{ cbDuelRule->setSelected(MR - 1); if (flag2 == DUEL_MODE_MR##MR##_FORB) { cbDuelRule->removeItem(5); break; } }
#define CHECK(MR) case DUEL_MODE_MR##MR:{ cbDuelRule->setSelected(MR - 1); if (flag2 == DUEL_MODE_MR##MR##_FORB) { cbDuelRule->removeItem(7); break; } }
switch (flag) {
CHECK(1)
CHECK(2)
Expand Down

0 comments on commit 350ecbb

Please sign in to comment.