From: Holger Schemel Date: Fri, 26 Nov 2021 23:13:56 +0000 (+0100) Subject: fixed android cloning additional empty space elements X-Git-Tag: 4.3.1.0~7 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=cd8ffa5913dbad16024c5cf4232610c69dc7fac4;p=rocksndiamonds.git fixed android cloning additional empty space elements --- diff --git a/src/game.c b/src/game.c index e906d236..367a86a4 100644 --- a/src/game.c +++ b/src/game.c @@ -8420,6 +8420,9 @@ static void StartMoving(int x, int y) GfxDir[x][y] = diagonal_move_dir; ChangeDelay[x][y] = change_delay; + if (Store[x][y] == EL_EMPTY) + Store[x][y] = GfxElementEmpty[x][y]; + graphic = el_act_dir2img(GfxElement[x][y], GfxAction[x][y], GfxDir[x][y]);