fixed android cloning additional empty space elements
authorHolger Schemel <info@artsoft.org>
Fri, 26 Nov 2021 23:13:56 +0000 (00:13 +0100)
committerHolger Schemel <info@artsoft.org>
Sat, 22 Jan 2022 16:58:29 +0000 (17:58 +0100)
src/game.c

index e906d2362d832236cd08b141d0f48dd7a06a8fbe..367a86a4e38ed0663bc41a4ad40075ff393e0880 100644 (file)
@@ -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]);