aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llcommon/llkeythrottle.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:34 -0500
committerJacek Antonelli2008-08-15 23:45:34 -0500
commitcd17687f01420952712a500107e0f93e7ab8d5f8 (patch)
treece48c2b706f2c1176290e39fb555fbdf6648ce01 /linden/indra/llcommon/llkeythrottle.h
parentSecond Life viewer sources 1.19.0.5 (diff)
downloadmeta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.zip
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.gz
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.bz2
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.xz
Second Life viewer sources 1.19.1.0
Diffstat (limited to 'linden/indra/llcommon/llkeythrottle.h')
-rw-r--r--linden/indra/llcommon/llkeythrottle.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/linden/indra/llcommon/llkeythrottle.h b/linden/indra/llcommon/llkeythrottle.h
index c2dc9d2..8314269 100644
--- a/linden/indra/llcommon/llkeythrottle.h
+++ b/linden/indra/llcommon/llkeythrottle.h
@@ -192,10 +192,7 @@ public:
192 { 192 {
193 noteAction(id); 193 noteAction(id);
194 typename LLKeyThrottleImpl<T>::Entry& curr = (*m.currMap)[id]; 194 typename LLKeyThrottleImpl<T>::Entry& curr = (*m.currMap)[id];
195 if (curr.count < m.countLimit) 195 curr.count = llmax(m.countLimit, curr.count);
196 {
197 curr.count = m.countLimit;
198 }
199 curr.blocked = TRUE; 196 curr.blocked = TRUE;
200 } 197 }
201 198