mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-01 15:09:43 +00:00
Merge branch 'fix_mouse_events' into 'master'
Fix a typo See merge request OpenMW/openmw!1855
This commit is contained in:
commit
07849b7362
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ namespace LuaUi
|
|||
int sdlButton = SDLUtil::myGuiMouseButtonToSdl(button);
|
||||
table["position"] = position;
|
||||
table["offset"] = offset;
|
||||
if (sdlButton == 0) // nil if no button was pressed
|
||||
if (sdlButton != 0) // nil if no button was pressed
|
||||
table["button"] = sdlButton;
|
||||
return table;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue