projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d17c2d
)
fixed small graphical bug with laser overloaded by slope in MM engine
author
Holger Schemel
<info@artsoft.org>
Fri, 19 May 2023 10:16:37 +0000
(12:16 +0200)
committer
Holger Schemel
<info@artsoft.org>
Fri, 19 May 2023 10:16:37 +0000
(12:16 +0200)
src/game_mm/mm_game.c
patch
|
blob
|
history
diff --git
a/src/game_mm/mm_game.c
b/src/game_mm/mm_game.c
index fbbffe1898a151de41474b40f696eaf542c45128..6e04d476b92f2f68f8fa0d0b2906dab5cdba3e18 100644
(file)
--- a/
src/game_mm/mm_game.c
+++ b/
src/game_mm/mm_game.c
@@
-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;