X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_mm%2Fmm_game.c;h=20592f1b25b268e4603d002773cd71a4cd2b0724;hb=200ef56170d80105ec6a2c499361a33b9fd3c3c9;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..20592f1b 100644 --- a/src/game_mm/mm_game.c +++ b/src/game_mm/mm_game.c @@ -1624,7 +1624,7 @@ void DrawLaser(int start_edge, int mode) continue; #if 0 - Debug("game:mm:DrawLaser", "DL_LASER_ENABLED: i==%d: %d, %d", + Debug("game:mm:DrawLaser", "DL_LASER_ENABLED: i == %d: %d, %d", i, laser.beamer_edge[i], tmp_start_edge); #endif @@ -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;