This commit is contained in:
p.kosyh 2011-04-15 12:39:13 +00:00
parent a2b22a332a
commit 339f44d6a1

View file

@ -1280,8 +1280,8 @@ static int luaB_mouse_pos(lua_State *L) {
int y = luaL_optnumber(L, 2, -1);
float v = game_theme.scale;
if (x != -1 && y != -1) {
x = x * v;
y = y * v;
x *= v;
y *= v;
gfx_warp_cursor(x, y);
x = -1;
y = -1;