diff options
author | Jacek Antonelli | 2008-08-15 23:44:59 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:59 -0500 |
commit | a408bac29378072fbf36864164149458c978cfcc (patch) | |
tree | 67feccf1a5d3816611ba48d6762f86f0f7f4b1f6 /linden/indra/newview/llviewerkeyboard.cpp | |
parent | Second Life viewer sources 1.17.0.12 (diff) | |
download | meta-impy-a408bac29378072fbf36864164149458c978cfcc.zip meta-impy-a408bac29378072fbf36864164149458c978cfcc.tar.gz meta-impy-a408bac29378072fbf36864164149458c978cfcc.tar.bz2 meta-impy-a408bac29378072fbf36864164149458c978cfcc.tar.xz |
Second Life viewer sources 1.17.1.0
Diffstat (limited to 'linden/indra/newview/llviewerkeyboard.cpp')
-rw-r--r-- | linden/indra/newview/llviewerkeyboard.cpp | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/linden/indra/newview/llviewerkeyboard.cpp b/linden/indra/newview/llviewerkeyboard.cpp index fcb1550..ad931cd 100644 --- a/linden/indra/newview/llviewerkeyboard.cpp +++ b/linden/indra/newview/llviewerkeyboard.cpp | |||
@@ -121,11 +121,7 @@ void agent_slide_left( EKeystate s ) | |||
121 | 121 | ||
122 | if( time < NUDGE_TIME || frame_count <= NUDGE_FRAMES) | 122 | if( time < NUDGE_TIME || frame_count <= NUDGE_FRAMES) |
123 | { | 123 | { |
124 | if (frame_count == 0) | 124 | gAgent.moveLeftNudge(1); |
125 | { | ||
126 | // only send nudge on first frame | ||
127 | gAgent.moveLeftNudge(1); | ||
128 | } | ||
129 | } | 125 | } |
130 | else | 126 | else |
131 | { | 127 | { |
@@ -142,11 +138,7 @@ void agent_slide_right( EKeystate s ) | |||
142 | 138 | ||
143 | if( time < NUDGE_TIME || frame_count <= NUDGE_FRAMES) | 139 | if( time < NUDGE_TIME || frame_count <= NUDGE_FRAMES) |
144 | { | 140 | { |
145 | if (frame_count == 0) | 141 | gAgent.moveLeftNudge(-1); |
146 | { | ||
147 | // only send nudge on first frame | ||
148 | gAgent.moveLeftNudge(-1); | ||
149 | } | ||
150 | } | 142 | } |
151 | else | 143 | else |
152 | { | 144 | { |