Replaced env.cc towards dexed originals version (fixing some problems).

pull/4/head
Holger Wirtz 4 years ago
parent d5a4d1ee88
commit cf3f5f22d1
  1. 2
      src/msfa/env.cc

@ -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;

Loading…
Cancel
Save