From: Holger Schemel Date: Tue, 8 Dec 2015 14:24:32 +0000 (+0100) Subject: minor whitespace change X-Git-Tag: 4.0.0.0-rc1~113 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=88199e14f3fde57971167f35ec0cd13113e7d01c;p=rocksndiamonds.git minor whitespace change --- diff --git a/src/tools.c b/src/tools.c index 3cf3b960..0e030f7b 100644 --- a/src/tools.c +++ b/src/tools.c @@ -1302,20 +1302,20 @@ inline static void DrawGraphicShiftedNormal(int x, int y, int dx, int dy, width = -dx; dx = TILEX + dx; } - else if (x==BX1 && dx < 0) /* object leaves playfield to the left */ + else if (x == BX1 && dx < 0) /* object leaves playfield to the left */ { width += dx; cx = -dx; dx = 0; } - else if (x==BX2 && dx > 0) /* object leaves playfield to the right */ + else if (x == BX2 && dx > 0) /* object leaves playfield to the right */ width -= dx; else if (dx) /* general horizontal movement */ MarkTileDirty(x + SIGN(dx), y); if (y < BY1) /* object enters playfield from the top */ { - if (cut_mode==CUT_BELOW) /* object completely above top border */ + if (cut_mode == CUT_BELOW) /* object completely above top border */ return; y = BY1; @@ -1329,7 +1329,7 @@ inline static void DrawGraphicShiftedNormal(int x, int y, int dx, int dy, height = -dy; dy = TILEY + dy; } - else if (y==BY1 && dy < 0) /* object leaves playfield to the top */ + else if (y == BY1 && dy < 0) /* object leaves playfield to the top */ { height += dy; cy = -dy;