projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0c3bb4
)
fixed android cloning additional empty space elements
author
Holger Schemel
<info@artsoft.org>
Fri, 26 Nov 2021 23:13:56 +0000
(
00:13
+0100)
committer
Holger Schemel
<info@artsoft.org>
Sat, 22 Jan 2022 16:58:29 +0000
(17:58 +0100)
src/game.c
patch
|
blob
|
history
diff --git
a/src/game.c
b/src/game.c
index e906d2362d832236cd08b141d0f48dd7a06a8fbe..367a86a4e38ed0663bc41a4ad40075ff393e0880 100644
(file)
--- 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]);