diff options
author | Jacek Antonelli | 2008-08-15 23:45:34 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:34 -0500 |
commit | cd17687f01420952712a500107e0f93e7ab8d5f8 (patch) | |
tree | ce48c2b706f2c1176290e39fb555fbdf6648ce01 /linden/indra/llcommon/llkeythrottle.h | |
parent | Second Life viewer sources 1.19.0.5 (diff) | |
download | meta-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.h | 5 |
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 | ||