replace is_trial with is_nte

This commit is contained in:
Martin Michelsen
2024-02-09 19:12:02 -08:00
parent d0c3e1b7d8
commit 884a5ce75a
20 changed files with 431 additions and 431 deletions
+2 -2
View File
@@ -183,7 +183,7 @@ void DeckState::restart() {
this->shuffle();
}
void DeckState::do_mulligan(bool is_trial) {
void DeckState::do_mulligan(bool is_nte) {
for (size_t z = 0; z < this->entries.size(); z++) {
if (this->entries[z].state == CardState::DISCARDED) {
this->entries[z].state = CardState::DRAWABLE;
@@ -191,7 +191,7 @@ void DeckState::do_mulligan(bool is_trial) {
}
this->draw_index = 1;
if (is_trial || this->shuffle_enabled) {
if (is_nte || this->shuffle_enabled) {
// Get the next 5 cards from the deck, and put the previous 5 cards after
// them (so they will be shuffled back in).
for (uint8_t z = 0; z < 5; z++) {