|
|
@ -157,7 +157,7 @@ void Env::update(const int r[4], const int l[4], int ol, int rate_scaling) { |
|
|
|
outlevel_ = ol; |
|
|
|
outlevel_ = ol; |
|
|
|
rate_scaling_ = rate_scaling; |
|
|
|
rate_scaling_ = rate_scaling; |
|
|
|
if ( down_ ) { |
|
|
|
if ( down_ ) { |
|
|
|
// for now we simply reset ourselve at level 3
|
|
|
|
// for now we simply reset ourselves at level 3
|
|
|
|
int newlevel = levels_[2]; |
|
|
|
int newlevel = levels_[2]; |
|
|
|
int actuallevel = scaleoutlevel(newlevel) >> 1; |
|
|
|
int actuallevel = scaleoutlevel(newlevel) >> 1; |
|
|
|
actuallevel = (actuallevel << 6) - 4256; |
|
|
|
actuallevel = (actuallevel << 6) - 4256; |
|
|
|