Browse Source

Fix static key binding map population for screen joystick.

Yao Wei Tjong 姚伟忠 11 years ago
parent
commit
ac81ae1c7f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/Engine/Input/Input.cpp

+ 1 - 1
Source/Engine/Input/Input.cpp

@@ -244,7 +244,7 @@ bool Input::DetectJoysticks()
     return true;
     return true;
 }
 }
 
 
-static void PopulateKeyBindingMap(HashMap<String, int> keyBindingMap)
+static void PopulateKeyBindingMap(HashMap<String, int>& keyBindingMap)
 {
 {
     if (keyBindingMap.Empty())
     if (keyBindingMap.Empty())
     {
     {