X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_mm%2Fmm_game.c;h=20e27068ffa641502bc60d230642c3fe62f10563;hb=6d26e1e4259343003f378829a3f18ee5f7e7cdcd;hp=8583a9a7d7d056e43e13b3e2bcc80ffefe35af3a;hpb=8b514628ff5c33f7d1bc14da0eceb770b4b64ba2;p=rocksndiamonds.git diff --git a/src/game_mm/mm_game.c b/src/game_mm/mm_game.c index 8583a9a7..20e27068 100644 --- a/src/game_mm/mm_game.c +++ b/src/game_mm/mm_game.c @@ -3060,8 +3060,6 @@ void RotateMirror(int x, int y, int button) IS_POLAR(Tile[x][y]) || IS_POLAR_CROSS(Tile[x][y])) && x == ELX && y == ELY) { - check = 0; - if (IS_BEAMER(Tile[x][y])) { #if 0 @@ -3069,12 +3067,13 @@ void RotateMirror(int x, int y, int button) LX, LY, laser.beamer_edge, laser.beamer[1].num); #endif -#if 0 - laser.num_edges--; -#endif + if (check == 1) + laser.num_edges--; } ScanLaser(); + + check = 0; } if (check == 2)