X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_mm%2Fmm_game.c;h=c1e1452af0f7f78afadca343a116888721609e03;hb=5bf7d183c4881db693c961cebe8374dbaccc9f7f;hp=6b8d02aeba340cbae2f6c72d414747dc6904344f;hpb=0dd257541d5c299a35228d9eb6cfd85c14ca4a26;p=rocksndiamonds.git diff --git a/src/game_mm/mm_game.c b/src/game_mm/mm_game.c index 6b8d02ae..c1e1452a 100644 --- a/src/game_mm/mm_game.c +++ b/src/game_mm/mm_game.c @@ -2131,6 +2131,7 @@ static void Explode_MM(int x, int y, int phase, int mode) Store[x][y] = EL_EMPTY; } + Feld[x][y] = Store[x][y]; Store[x][y] = Store2[x][y] = 0; MovDir[x][y] = MovPos[x][y] = MovDelay[x][y] = 0; InitField(x, y, FALSE); @@ -2680,7 +2681,7 @@ void ColorCycling(void) } } -void GameActions_MM(byte action[MAX_PLAYERS], boolean warp_mode) +static void GameActions_MM_Ext(byte action[MAX_PLAYERS], boolean warp_mode) { static unsigned int action_delay = 0; static unsigned int pacman_delay = 0; @@ -3356,6 +3357,14 @@ void GameActions_MM(byte action[MAX_PLAYERS], boolean warp_mode) return; } +void GameActions_MM(byte action[MAX_PLAYERS], boolean warp_mode) +{ + if (!button_status) + ClickElement(0, 0, MB_NOT_PRESSED); + + GameActions_MM_Ext(action, warp_mode); +} + void MovePacMen() { static int p = -1;