X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fgame_mm%2Fmm_game.c;fp=src%2Fgame_mm%2Fmm_game.c;h=24507681889d1becc70e053b776c2f96cee43913;hp=6e04d476b92f2f68f8fa0d0b2906dab5cdba3e18;hb=108c5907f746e25316e76b3c94daf6a8ae85b66b;hpb=a7e9588a532f2f0ad0d6f93b9b8184fd41fd002d diff --git a/src/game_mm/mm_game.c b/src/game_mm/mm_game.c index 6e04d476..24507681 100644 --- a/src/game_mm/mm_game.c +++ b/src/game_mm/mm_game.c @@ -1209,14 +1209,10 @@ static void ScanLaser(void) break; } - boolean diagonally_adjacent_hit = FALSE; - // handle special case of laser hitting two diagonally adjacent elements // (with or without a third corner element behind these two elements) if ((diag_1 || diag_2) && cross_x && cross_y) { - diagonally_adjacent_hit = TRUE; - // compare the two diagonally adjacent elements int xoffset = 2; int yoffset = 2 * (diag_1 ? -1 : +1); @@ -1334,13 +1330,6 @@ static void ScanLaser(void) } else if (IS_DF_SLOPE(element)) { - if (diagonally_adjacent_hit) - { - laser.overloaded = TRUE; - - break; - } - if (hit_mask == HIT_MASK_LEFT || hit_mask == HIT_MASK_RIGHT || hit_mask == HIT_MASK_TOP ||