2
0
Эх сурвалжийг харах

Merge pull request #196 from elementc/development

Fix type mismatch (C4244) in VS builds
Mike Lilligreen 11 жил өмнө
parent
commit
b7b19647ac

+ 1 - 1
engine/source/platformWin32/winDirectInput.cc

@@ -732,7 +732,7 @@ inline void DInputManager::fireXInputButtonEvent( int controllerID, bool forceFi
 	  Con::printf("%s", objName);
 	  Con::printf("%s", objName);
 	  */
 	  */
 
 
-      buildXInputEvent( controllerID, XI_BUTTON, objInst, action, ( action == XI_MAKE ? 1 : 0 ) );
+      buildXInputEvent( controllerID, XI_BUTTON, objInst, action, ( action == XI_MAKE ? 1.0f : 0.0f ) );
    }
    }
 }
 }