mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-01 05:39:41 +00:00
Fix a typo
This commit is contained in:
parent
072337c9b8
commit
1766f89c4d
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ namespace LuaUi
|
||||||
int sdlButton = SDLUtil::myGuiMouseButtonToSdl(button);
|
int sdlButton = SDLUtil::myGuiMouseButtonToSdl(button);
|
||||||
table["position"] = position;
|
table["position"] = position;
|
||||||
table["offset"] = offset;
|
table["offset"] = offset;
|
||||||
if (sdlButton == 0) // nil if no button was pressed
|
if (sdlButton != 0) // nil if no button was pressed
|
||||||
table["button"] = sdlButton;
|
table["button"] = sdlButton;
|
||||||
return table;
|
return table;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue