소스 검색

Merge pull request #196 from elementc/development

Fix type mismatch (C4244) in VS builds
Mike Lilligreen 11 년 전
부모
커밋
b7b19647ac
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      engine/source/platformWin32/winDirectInput.cc

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

@@ -732,7 +732,7 @@ inline void DInputManager::fireXInputButtonEvent( int controllerID, bool forceFi
 	  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 ) );
    }
 }