Skip to content

Commit

Permalink
we need to actually call as's interval end to set the max anchor values
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Jun 29, 2020
1 parent 93f5466 commit d1fb907
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ struct AnchorSequencer
return _mw_max.at(ct).get_max_for_window(window);
}

inline void handle_interval_end()
inline void interval_end()
{
for (auto& c : ct_loop_no_jumps) {
_mw_max.at(c)(max_seen.at(c));
Expand Down Expand Up @@ -371,6 +371,8 @@ struct SequencerGeneral
return _mw_cc_ms.get_now();
}

inline void interval_end() { _as.interval_end(); }

inline void full_reset()
{
_mw_any_ms.fill(ms_init);
Expand Down
3 changes: 3 additions & 0 deletions src/Etterna/Globals/MinaCalc/Ulbu.h
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,9 @@ struct TheGreatBazoinkazoinkInTheSky
* counts, so this _must_ be called before anything else */
_mitvhi.interval_end();

// same thing but for anchor max!!!
_seq.interval_end();

// run pattern mod generation for hand dependent mods
set_dependent_pmods(itv);

Expand Down

0 comments on commit d1fb907

Please sign in to comment.