mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-10 12:39:53 +00:00
Increment version number for input configuration
Old files are broken by keycode->scancode switch (319f4e0547d7376affd986e193450693236485a2)
This commit is contained in:
parent
99c276baa9
commit
0c273568f2
@ -367,7 +367,7 @@ void OMW::Engine::prepareEngine (Settings::Manager & settings)
|
|||||||
// Create input and UI first to set up a bootstrapping environment for
|
// Create input and UI first to set up a bootstrapping environment for
|
||||||
// showing a loading screen and keeping the window responsive while doing so
|
// showing a loading screen and keeping the window responsive while doing so
|
||||||
|
|
||||||
std::string keybinderUser = (mCfgMgr.getUserConfigPath() / "input_v1.xml").string();
|
std::string keybinderUser = (mCfgMgr.getUserConfigPath() / "input_v2.xml").string();
|
||||||
bool keybinderUserExists = boost::filesystem::exists(keybinderUser);
|
bool keybinderUserExists = boost::filesystem::exists(keybinderUser);
|
||||||
MWInput::InputManager* input = new MWInput::InputManager (*mOgre, *this, keybinderUser, keybinderUserExists, mGrab);
|
MWInput::InputManager* input = new MWInput::InputManager (*mOgre, *this, keybinderUser, keybinderUserExists, mGrab);
|
||||||
mEnvironment.setInputManager (input);
|
mEnvironment.setInputManager (input);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user