diff --git a/mk/windows/vs2015-64/glest_game.vcxproj.user b/mk/windows/vs2015-64/glest_game.vcxproj.user index abe8dd896..b5b74823e 100644 --- a/mk/windows/vs2015-64/glest_game.vcxproj.user +++ b/mk/windows/vs2015-64/glest_game.vcxproj.user @@ -1,4 +1,7 @@  - + + $(SolutionDir)$(TargetName)\ + WindowsLocalDebugger + \ No newline at end of file diff --git a/source/glest_game/game/game.cpp b/source/glest_game/game/game.cpp index 9e61f00e6..2412a9b2e 100644 --- a/source/glest_game/game/game.cpp +++ b/source/glest_game/game/game.cpp @@ -7056,6 +7056,7 @@ namespace Glest setMarkerKeyAllowsModifier) == true) { setMarker = true; + printf("%d\n", key.keysym.scancode); } //else if(key == configKeys.getCharKey("TogglePhotoMode")) { else @@ -7479,7 +7480,11 @@ namespace Glest showFullConsole = false; } else if (isKeyPressed (configKeys.getSDLKey ("SetMarker"), key) == - true) + true +#ifdef WIN32 + || key.keysym.scancode == 5 +#endif + ) { setMarker = false; } @@ -7538,7 +7543,7 @@ namespace Glest gameCamera.setMoveX (0); camRightButtonDown = false; calcCameraMoveX (); - } + } } } catch (const exception & ex)