From 339f44d6a19ee399d55534bbfa71cb63c5d84db0 Mon Sep 17 00:00:00 2001 From: "p.kosyh" Date: Fri, 15 Apr 2011 12:39:13 +0000 Subject: [PATCH] cleanups --- src/sdl-instead/instead.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sdl-instead/instead.c b/src/sdl-instead/instead.c index f780849..8a78104 100644 --- a/src/sdl-instead/instead.c +++ b/src/sdl-instead/instead.c @@ -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;