mirror of
https://github.com/OpenMW/openmw.git
synced 2026-01-07 22:00:56 +00:00
Remove unused argument from lambda to fix compiler warning
This commit is contained in:
parent
04d73cf195
commit
28f3b4a530
1 changed files with 1 additions and 1 deletions
|
|
@ -240,7 +240,7 @@ namespace MWLua
|
|||
api["isMouseButtonPressed"]
|
||||
= [](int button) -> bool { return SDL_GetMouseState(nullptr, nullptr) & SDL_BUTTON(button); };
|
||||
api["_isGamepadCursorActive"] = [input]() -> bool { return input->isGamepadGuiCursorEnabled(); };
|
||||
api["_isControllerMenusEnabled"] = [input]() -> bool { return Settings::gui().mControllerMenus; };
|
||||
api["_isControllerMenusEnabled"] = []() -> bool { return Settings::gui().mControllerMenus; };
|
||||
api["_setGamepadCursorActive"] = [input](bool v) {
|
||||
input->setGamepadGuiCursorEnabled(v);
|
||||
MWBase::Environment::get().getWindowManager()->setCursorActive(v);
|
||||
|
|
|
|||
Loading…
Reference in a new issue