projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0111df8
)
fixed bug with gray ball creating wrong game elements in MM engine
author
Holger Schemel
<info@artsoft.org>
Fri, 17 Feb 2023 19:33:12 +0000
(20:33 +0100)
committer
Holger Schemel
<info@artsoft.org>
Fri, 17 Feb 2023 19:33:12 +0000
(20:33 +0100)
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 27aada30a7c2d95fd5f320996e1163b06c391df5..e822706ff9a00902ee49de8dc9fd5115aef8d05a 100644
(file)
--- a/
src/game_mm/mm_game.c
+++ b/
src/game_mm/mm_game.c
@@
-3491,7
+3491,7
@@
static void GameActions_MM_Ext(void)
int new_element = native_mm_level.ball_content[element_pos];
- Store[ELX][ELY] =
new_element + RND(get_num_elements(new_element
));
+ Store[ELX][ELY] =
get_rotated_element(new_element, RND(16
));
Store2[ELX][ELY] = TRUE;
}