mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 03:36:32 +01:00
triggerbox: amend previous commit that failed to notice 2 uses of which_follow_action
This commit is contained in:
parent
b89b452c8d
commit
4f8be5a6c3
1 changed files with 2 additions and 1 deletions
|
|
@ -2337,6 +2337,7 @@ TriggerBox::determine_next_trigger (uint64_t current)
|
|||
*/
|
||||
|
||||
int which_follow_action = 0;
|
||||
|
||||
int r = _pcg.rand (100); // 0 .. 99
|
||||
Trigger::FollowAction fa;
|
||||
|
||||
|
|
@ -2371,7 +2372,7 @@ TriggerBox::determine_next_trigger (uint64_t current)
|
|||
|
||||
/* second switch: handle the "real" follow actions */
|
||||
|
||||
switch (all_triggers[current]->follow_action (which_follow_action)) {
|
||||
switch (fa) {
|
||||
case Trigger::None:
|
||||
return -1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue