wrap_mouse fix
This commit is contained in:
parent
7d39b69e83
commit
17df704f51
|
@ -1331,7 +1331,7 @@ static int luaB_mouse_pos(lua_State *L) {
|
|||
if (x != -1 && y != -1) {
|
||||
x *= v;
|
||||
y *= v;
|
||||
gfx_warp_cursor(x, y);
|
||||
gfx_warp_cursor(x + game_theme.xoff, y + game_theme.yoff);
|
||||
x = -1;
|
||||
y = -1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue