summaryrefslogtreecommitdiff
path: root/indra/llwindow/llwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llwindow/llwindow.cpp')
-rw-r--r--indra/llwindow/llwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llwindow/llwindow.cpp b/indra/llwindow/llwindow.cpp
index e845afe320..fce0d055e6 100644
--- a/indra/llwindow/llwindow.cpp
+++ b/indra/llwindow/llwindow.cpp
@@ -247,7 +247,7 @@ LLWindow::LLWindow(BOOL fullscreen, U32 flags)
mFlags(flags),
mHighSurrogate(0)
{
- for (U32 i = 0; i < 6; i++)
+ for (U32 i = 0; i < 8; i++)
{
mJoyAxis[i] = 0;
}
@@ -275,7 +275,7 @@ void LLWindow::decBusyCount()
F32 LLWindow::getJoystickAxis(U32 axis)
{
- if (axis < 6)
+ if (axis < 8)
{
return mJoyAxis[axis];
}