projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7078f3a
)
fixed bug when checking if end of slope is blocked by other element
author
Holger Schemel
<info@artsoft.org>
Wed, 17 May 2023 10:45:40 +0000
(12:45 +0200)
committer
Holger Schemel
<info@artsoft.org>
Wed, 17 May 2023 10:45:40 +0000
(12:45 +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 3c18bcc54e317f8408f4c1e5f7269894fa618f9d..5c5619d0e8e54fc12f51f7ffa9342420323686aa 100644
(file)
--- a/
src/game_mm/mm_game.c
+++ b/
src/game_mm/mm_game.c
@@
-1981,7
+1981,7
@@
static boolean HitElement(int element, int hit_mask)
{
int pos = getMaskFromElement(element_side);
- if (mm_masks[pos][dx / 2][d
x
/ 2] == 'X')
+ if (mm_masks[pos][dx / 2][d
y
/ 2] == 'X')
laser.overloaded = TRUE;
}
}