Skip to content

Commit

Permalink
col_ids are defined in outer scope
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed May 13, 2020
1 parent 278755a commit 5cc20e5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Etterna/Globals/MinaCalc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1369,8 +1369,6 @@ Calc::gen_jump_hand_chord_data(const vector<NoteInfo>& NoteInfo)
data.chordtaps.reserve(nervIntervals.size());
data.quads.reserve(nervIntervals.size());

static const int col_id[4] = { 1, 2, 4, 8 };

int seriously_not_js = 0;
set<unsigned int> row_variations;
for (size_t i = 0; i < nervIntervals.size(); i++) {
Expand Down Expand Up @@ -1432,7 +1430,7 @@ Calc::gen_jump_hand_chord_data(const vector<NoteInfo>& NoteInfo)
}

bool twas_jack = false;
for (auto& id : col_id) {
for (auto& id : col_ids) {
if (dbg_lv2)
std::cout << "cur id: " << id << std::endl;
if (cols & id && last_cols & id) {
Expand Down

0 comments on commit 5cc20e5

Please sign in to comment.