ref: cb8ab8c6f6ddef8a0938f771e3fad9d0ca6b2735
parent: 56093a31621a65b1f9aae21fbb34cf62e7918a15
author: Chris Moeller <[email protected]>
date: Tue Mar 25 22:12:33 EDT 2014
Derp
--- a/dumb/src/it/itrender.c
+++ b/dumb/src/it/itrender.c
@@ -3946,11 +3946,11 @@
playing->float_volume[1] *= vol;
if (ramp_style == 0 || (ramp_style < 2 && playing->declick_stage == 2)) {
- if (ramp_style < 2 || playing->declick_stage < 2) {
+ if (playing->declick_stage <= 2) {
playing->ramp_volume[0] = playing->float_volume[0];
playing->ramp_volume[1] = playing->float_volume[1];
playing->declick_stage = 2;
- } else if (playing->declick_stage > 2) {
+ } else {
playing->float_volume[0] = 0;
playing->float_volume[1] = 0;
playing->ramp_volume[0] = 0;