diff options
Diffstat (limited to '')
-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 | { |