From: Holger Schemel Date: Mon, 11 Feb 2019 19:17:28 +0000 (+0100) Subject: minor whitespace change X-Git-Tag: 4.1.2.0~19 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=eef017083272b7c0f3ceaa999edb7c33c263f432;p=rocksndiamonds.git minor whitespace change --- diff --git a/src/tools.c b/src/tools.c index c2b1ec15..187fb00c 100644 --- a/src/tools.c +++ b/src/tools.c @@ -218,7 +218,7 @@ static int getFieldbufferOffsetX_RND(void) if (EVEN(SCR_FIELDX)) { int sbx_right = SBX_Right + (BorderElement != EL_EMPTY ? 1 : 0); - int ffx = (scroll_x - SBX_Left) * TILEX_VAR + dx_var; + int ffx = (scroll_x - SBX_Left) * TILEX_VAR + dx_var; if (ffx < sbx_right * TILEX_VAR + TILEX_VAR / 2) fx += dx_var - MIN(ffx, TILEX_VAR / 2) + TILEX_VAR; @@ -244,7 +244,7 @@ static int getFieldbufferOffsetX_RND(void) static int getFieldbufferOffsetY_RND(void) { int full_lev_fieldy = lev_fieldy + (BorderElement != EL_EMPTY ? 2 : 0); - int dy = (ScreenMovDir & (MV_UP | MV_DOWN) ? ScreenGfxPos : 0); + int dy = (ScreenMovDir & (MV_UP | MV_DOWN) ? ScreenGfxPos : 0); int dy_var = dy * TILESIZE_VAR / TILESIZE; int fy = FY;