From 464bbe4d6f0e0ec212cd5a37ee442fed58e24763 Mon Sep 17 00:00:00 2001 From: Digmaster Date: Sun, 25 Jan 2015 01:11:21 -0600 Subject: [PATCH] if v2 doesn't exist, don't erroneously set keyboardUserExists to true. --- apps/openmw/engine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/engine.cpp b/apps/openmw/engine.cpp index 7764b8775..282182493 100644 --- a/apps/openmw/engine.cpp +++ b/apps/openmw/engine.cpp @@ -376,7 +376,7 @@ void OMW::Engine::prepareEngine (Settings::Manager & settings) if(!keybinderUserExists) { boost::filesystem::copy_file(mCfgMgr.getUserConfigPath() / "input_v2.xml", mCfgMgr.getUserConfigPath() / "input_v3.xml"); - keybinderUserExists=true; + keybinderUserExists = boost::filesystem::exists(keybinderUser); } // find correct path to the game controller bindings