* 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:
Adam Frisby
2008-05-01 16:23:53 +00:00
parent 5231903778
commit 01f31fd933
27 changed files with 61 additions and 72 deletions

View File

@@ -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)