mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
* minor: remove warnings (the code cleaners strike again)
This commit is contained in:
@@ -413,10 +413,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private static int ScaleThrottle(int value, int curmax, int newmax)
|
||||
{
|
||||
return (value / curmax) * newmax;
|
||||
return (int)((value / (float)curmax) * newmax);
|
||||
}
|
||||
|
||||
public byte[] GetThrottlesPacked(float multiplier)
|
||||
|
||||
Reference in New Issue
Block a user