Browse code

[NCSF] Fixed unintentional infinite loop in the previous attack rate calculation fix.

Naram Qashat authored on 2014/10/23 21:52:35
Showing 1 changed files
... ...
@@ -543,8 +543,6 @@ void Channel::Update()
543 543
 		if (bVolNeedUpdate)
544 544
 		{
545 545
 			int totalVol = this->ampl >> 7;
546
-			if (totalVol == -1)
547
-				this->ampl = 0;
548 546
 			totalVol += this->extAmpl;
549 547
 			totalVol += this->velocity;
550 548
 			if (bModulation && this->modType == 1)