wrap_mouse fix

This commit is contained in:
p.kosyh 2011-04-20 07:50:19 +00:00
parent 7d39b69e83
commit 17df704f51

View file

@ -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;
}