From 7f7e8c63bf645e44930ef788b88a7f554de672ba Mon Sep 17 00:00:00 2001 From: scrawl Date: Thu, 31 Dec 2015 00:37:47 +0100 Subject: [PATCH] Correct path to gamecontrollerdb.txt (Fixes #3112) --- apps/openmw/engine.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/openmw/engine.cpp b/apps/openmw/engine.cpp index b43fd2f53..3fcd46f7c 100644 --- a/apps/openmw/engine.cpp +++ b/apps/openmw/engine.cpp @@ -474,8 +474,8 @@ void OMW::Engine::prepareEngine (Settings::Manager & settings) } // find correct path to the game controller bindings - const std::string localdefault = mCfgMgr.getLocalPath().string() + "/gamecontrollerdb.cfg"; - const std::string globaldefault = mCfgMgr.getGlobalPath().string() + "/gamecontrollerdb.cfg"; + const std::string localdefault = mCfgMgr.getLocalPath().string() + "/gamecontrollerdb.txt"; + const std::string globaldefault = mCfgMgr.getGlobalPath().string() + "/gamecontrollerdb.txt"; std::string gameControllerdb; if (boost::filesystem::exists(localdefault)) gameControllerdb = localdefault;