Comment if-check around commented unused client-side speed limiting code

This commit is contained in:
kaetemi 2013-09-07 15:53:00 +02:00
parent 035fd1d40a
commit 1d1fb14fc8

View file

@ -3552,12 +3552,13 @@ void CUserEntity::CSpeedFactor::update(ICDBNode *node) // virtual
//nlinfo("SpeedFactor changed to %f / %"NL_I64"u", _Value, leaf->getValue64()); //nlinfo("SpeedFactor changed to %f / %"NL_I64"u", _Value, leaf->getValue64());
// clamp the value (2.0 is the egg item or the level 6 speed up power up, nothing should be faster) // clamp the value (2.0 is the egg item or the level 6 speed up power up, nothing should be faster)
if(_Value > 2.0f) // commented because ring editor speed is in fact faster
{ //if(_Value > 2.0f)
//{
//nlwarning("HACK: you try to change the speed factor to %f", _Value); //nlwarning("HACK: you try to change the speed factor to %f", _Value);
//nlstop; //nlstop;
//_Value = 2.0f; //_Value = 2.0f;
} //}
}// CSpeedFactor::update // }// CSpeedFactor::update //