From: Holger Schemel Date: Fri, 17 Feb 2023 19:33:12 +0000 (+0100) Subject: fixed bug with gray ball creating wrong game elements in MM engine X-Git-Tag: 4.3.5.1~11 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=b0f18dbef013a0a3174ffd22cb468896b9db86fd;p=rocksndiamonds.git fixed bug with gray ball creating wrong game elements in MM engine --- diff --git a/src/game_mm/mm_game.c b/src/game_mm/mm_game.c index 27aada30..e822706f 100644 --- 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; }