aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/ClientView.cs
diff options
context:
space:
mode:
authorSean Dague2007-11-29 16:32:19 +0000
committerSean Dague2007-11-29 16:32:19 +0000
commit641e541967264a0048331b46c8956be2d0b72798 (patch)
tree2e3e94198f6f41d5b913036026227de56b31f26d /OpenSim/Region/ClientStack/ClientView.cs
parent* Fixed neighbour range bug (diff)
downloadopensim-SC-641e541967264a0048331b46c8956be2d0b72798.zip
opensim-SC-641e541967264a0048331b46c8956be2d0b72798.tar.gz
opensim-SC-641e541967264a0048331b46c8956be2d0b72798.tar.bz2
opensim-SC-641e541967264a0048331b46c8956be2d0b72798.tar.xz
add a few more parens to make sure that throttling condition
is really happening the way we want it to.
Diffstat (limited to 'OpenSim/Region/ClientStack/ClientView.cs')
-rw-r--r--OpenSim/Region/ClientStack/ClientView.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs
index 8b93c5f..90002c3 100644
--- a/OpenSim/Region/ClientStack/ClientView.cs
+++ b/OpenSim/Region/ClientStack/ClientView.cs
@@ -2371,7 +2371,7 @@ namespace OpenSim.Region.ClientStack
2371 // wait for the timer to fire to put things into the 2371 // wait for the timer to fire to put things into the
2372 // output queue 2372 // output queue
2373 2373
2374 if(q.Count == 0 && TypeBytesSent <= ((int)(Throttle / throttleTimeDivisor))) 2374 if((q.Count == 0) && (TypeBytesSent <= ((int)(Throttle / throttleTimeDivisor))))
2375 { 2375 {
2376 bytesSent += item.Packet.ToBytes().Length; 2376 bytesSent += item.Packet.ToBytes().Length;
2377 TypeBytesSent += item.Packet.ToBytes().Length; 2377 TypeBytesSent += item.Packet.ToBytes().Length;