X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_mm%2Fmm_game.c;h=fd3cf9ff973258a62a2338032309704addae8fb0;hb=1b947aa0ce6030688a3c6cf514a7661f4e64784c;hp=b258e374b7f0bbeb868be9b873e831e331394af0;hpb=1112bbb77ddfd963daae6d48337ed98d578c5835;p=rocksndiamonds.git diff --git a/src/game_mm/mm_game.c b/src/game_mm/mm_game.c index b258e374..fd3cf9ff 100644 --- a/src/game_mm/mm_game.c +++ b/src/game_mm/mm_game.c @@ -3289,7 +3289,7 @@ static void ContinueMoving_MM(int x, int y) int direction = MovDir[x][y]; int dx = (direction == MV_LEFT ? -1 : direction == MV_RIGHT ? +1 : 0); int dy = (direction == MV_UP ? -1 : direction == MV_DOWN ? +1 : 0); - int horiz_move = (dx!=0); + int horiz_move = (dx != 0); int newx = x + dx, newy = y + dy; int step = (horiz_move ? dx : dy) * TILEX / 8;