aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewerkeyboard.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:59 -0500
committerJacek Antonelli2008-08-15 23:44:59 -0500
commita408bac29378072fbf36864164149458c978cfcc (patch)
tree67feccf1a5d3816611ba48d6762f86f0f7f4b1f6 /linden/indra/newview/llviewerkeyboard.cpp
parentSecond Life viewer sources 1.17.0.12 (diff)
downloadmeta-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.cpp12
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 {