X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsystem.c;h=337c18dff69c877a714e96f0e00f07e6de3736f3;hb=2aaf015a5b6264a47dd1da84ee2de1164752e9c2;hp=dc7dba8b2db2c763e19ee8cc274c38d73cc50b06;hpb=b2fbe97bd09c91e5efb580b35b910a3709015421;p=rocksndiamonds.git diff --git a/src/libgame/system.c b/src/libgame/system.c index dc7dba8b..337c18df 100644 --- a/src/libgame/system.c +++ b/src/libgame/system.c @@ -320,8 +320,9 @@ void InitGfxOtherSettings(void) gfx.cursor_mode_override = CURSOR_UNDEFINED; gfx.cursor_mode_final = gfx.cursor_mode; - gfx.mouse_x = 0; - gfx.mouse_y = 0; + // prevent initially displaying custom mouse cursor in upper left corner + gfx.mouse_x = POS_OFFSCREEN; + gfx.mouse_y = POS_OFFSCREEN; } void InitTileCursorInfo(void)