mirror of
https://github.com/opensim/opensim.git
synced 2026-06-09 13:35:49 +08:00
* Breaking all the code, breaking all the code..!
* Made a bunch more members static, removed some dead code, general cleaning.
This commit is contained in:
@@ -377,9 +377,9 @@ namespace OpenSim.Region.ClientStack
|
||||
}
|
||||
|
||||
|
||||
private int ScaleThrottle(int value, int curmax, int newmax)
|
||||
private static int ScaleThrottle(int value, int curmax, int newmax)
|
||||
{
|
||||
return (int) (((float) value/(float) curmax)*newmax);
|
||||
return (value / curmax) * newmax;
|
||||
}
|
||||
|
||||
public byte[] GetThrottlesPacked(float multiplier)
|
||||
|
||||
Reference in New Issue
Block a user