Skip to content

Commit

Permalink
[instrument] fixes #130
Browse files Browse the repository at this point in the history
Default instrument check did not account for the echo flag
  • Loading branch information
bazz1tv committed Sep 29, 2020
1 parent 096672a commit 77be823
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pc/tracker/Instruments.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ bool Instrument::operator==(const Instrument& rhs)
this->vol == rhs.vol &&
this->pan == rhs.pan &&
this->semitone_offset == rhs.semitone_offset &&
this->finetune == rhs.finetune);
this->finetune == rhs.finetune &&
this->echo == rhs.echo);
}

#define MIN_INST_COREINFO_SIZE sizeof(Instrument::vol) + sizeof(Instrument::pan) + sizeof(Instrument::adsr)
Expand Down

0 comments on commit 77be823

Please sign in to comment.