diff options
-rw-r--r-- | backends/midi/mt32/partial.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/midi/mt32/partial.cpp b/backends/midi/mt32/partial.cpp index 97158ed396..34da887718 100644 --- a/backends/midi/mt32/partial.cpp +++ b/backends/midi/mt32/partial.cpp @@ -726,8 +726,8 @@ Bit32u Partial::getAmpEnvelope() { if (tStat->decaying) { tc = tStat->envbase; tc = (tc + ((tStat->envdist * tStat->envpos) / tStat->envsize)); - if (tc < 0) - tc = 0; + //if (tc < 0) // tc is unsigned, so it will *never* be less than 0 + // tc = 0; if ((tStat->envpos >= tStat->envsize) || (tc == 0)) { play = false; // Don't have to worry about prevlevel storage or anything, this partial's about to die |