mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Add repecting the min and max values back in
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user