diff options
author | UbitUmarov | 2019-03-19 10:59:01 +0000 |
---|---|---|
committer | UbitUmarov | 2019-03-19 10:59:01 +0000 |
commit | c521ff394eb59bb5dfc767b3f8ebf7176b91685f (patch) | |
tree | 5d085dcb27ed56778374413bd3683ea8b71783a5 /OpenSim/Region | |
parent | try to avoid some useless full object updates (diff) | |
download | opensim-SC-c521ff394eb59bb5dfc767b3f8ebf7176b91685f.zip opensim-SC-c521ff394eb59bb5dfc767b3f8ebf7176b91685f.tar.gz opensim-SC-c521ff394eb59bb5dfc767b3f8ebf7176b91685f.tar.bz2 opensim-SC-c521ff394eb59bb5dfc767b3f8ebf7176b91685f.tar.xz |
recover the UnAckedBytes are in KB fix
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index dd67e67..5302fff 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -5457,7 +5457,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
5457 | data[26] = (byte)stats.StatsBlock.Length; | 5457 | data[26] = (byte)stats.StatsBlock.Length; |
5458 | int pos = 27; | 5458 | int pos = 27; |
5459 | 5459 | ||
5460 | for(int i = 0; i< stats.StatsBlock.Length; ++i) | 5460 | stats.StatsBlock[15].StatValue /= 1024; // unack is in KB |
5461 | for (int i = 0; i< stats.StatsBlock.Length; ++i) | ||
5461 | { | 5462 | { |
5462 | Utils.UIntToBytesSafepos(stats.StatsBlock[i].StatID, data, pos); pos += 4; | 5463 | Utils.UIntToBytesSafepos(stats.StatsBlock[i].StatID, data, pos); pos += 4; |
5463 | Utils.FloatToBytesSafepos(stats.StatsBlock[i].StatValue, data, pos); pos += 4; | 5464 | Utils.FloatToBytesSafepos(stats.StatsBlock[i].StatValue, data, pos); pos += 4; |