Add repecting the min and max values back in

This commit is contained in:
Melanie Thielker
2008-12-17 09:55:10 +00:00
parent e394e1c06f
commit a5343c5404

View File

@@ -100,6 +100,18 @@ namespace OpenSim.Region.ClientStack.LindenUDP
get { return m_currentThrottle; }
set
{
if (value < m_minAllowableThrottle)
{
m_currentThrottle = m_minAllowableThrottle;
CalcBits();
return;
}
if (value > m_maxAllowableThrottle)
{
m_currentThrottle = m_maxAllowableThrottle;
CalcBits();
return;
}
m_currentThrottle = value;
CalcBits();