mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-24 00:39:49 +00:00
Fix a typo
This commit is contained in:
parent
072337c9b8
commit
1766f89c4d
@ -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…
x
Reference in New Issue
Block a user