fixed small graphical bug with laser overloaded by slope in MM engine
authorHolger Schemel <info@artsoft.org>
Fri, 19 May 2023 10:16:37 +0000 (12:16 +0200)
committerHolger Schemel <info@artsoft.org>
Fri, 19 May 2023 10:16:37 +0000 (12:16 +0200)
src/game_mm/mm_game.c

index fbbffe1898a151de41474b40f696eaf542c45128..6e04d476b92f2f68f8fa0d0b2906dab5cdba3e18 100644 (file)
@@ -1742,9 +1742,6 @@ static boolean HitElement(int element, int hit_mask)
     // check if laser is reflected by slope by 180°
     if (mirrored_angle == opposite_angle)
     {
-      LX += XS;
-      LY += YS;
-
       AddDamagedField(LX / TILEX, LY / TILEY);
 
       laser.overloaded = TRUE;