Skip to content

Commit

Permalink
pickled frog skin
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed May 26, 2020
1 parent d4d8aca commit bc6bb89
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/Etterna/Globals/MinaCalc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1195,8 +1195,12 @@ RM_Sequencing::reset()

is_bursting = false;
had_burst = false;
// reset?? don't reset????
last_anchor_time = s_init;
last_off_time = s_init;
total_taps = 0;
ran_taps = 0;

anchor_len = 0;
off_taps_same = 0;
oht_taps = 0;
Expand Down Expand Up @@ -1352,7 +1356,7 @@ RM_Sequencing::handle_oht_progression(const cc_type& cc)
inline void
RM_Sequencing::operator()(const metanoteinfo& mni)
{
total_taps += column_count(mni.count);
total_taps += mni.count;

switch (mni.cc) {
case cc_left_right:
Expand Down Expand Up @@ -1701,6 +1705,7 @@ gen_metanoteinfo(const vector<vector<int>>& itv_rows,
auto& itv = itv_rows[i];
for (auto& row : itv) {
metanoteinfo mni;
mni.last_was_offhand_tap = was_last_offhand_tap;
mni.set_col_and_cc_types(NoteInfo[row].notes & t1,
NoteInfo[row].notes & t2,
last_col);
Expand All @@ -1720,9 +1725,9 @@ gen_metanoteinfo(const vector<vector<int>>& itv_rows,

if (rms[test].anchor_len > rm_to_use_for_mods.anchor_len)
rm_to_use_for_mods = rms[test];
was_last_offhand_tap = offhand_tap;
}

mni.last_was_offhand_tap = offhand_tap;
// we don't want to set lasttime or lastcol for empty rows
if (mni.col == col_empty)
continue;
Expand Down

0 comments on commit bc6bb89

Please sign in to comment.