Browse Source

input: fix minor PS3 compilation error.

legacy
Sam Hocevar sam 12 years ago
parent
commit
df6134e648
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/input/input.cpp

+ 1
- 1
src/input/input.cpp View File

@@ -107,7 +107,7 @@ int InputTracker::GetCurrentButtonStatus(Key Button)
int InputTracker::GetPreviousButtonStatus(Key Button)
{
if (Button < m_input_status.Count())
return m_input_status[Button + Key::Last];
return m_input_status[(int)Button + (int)Key::Last];
return 0;
}



Loading…
Cancel
Save