projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5d6510
)
improved converting BD game engine elements for R'n'D game engine
author
Holger Schemel
<info@artsoft.org>
Thu, 7 Mar 2024 19:22:48 +0000
(20:22 +0100)
committer
Holger Schemel
<info@artsoft.org>
Thu, 7 Mar 2024 19:22:48 +0000
(20:22 +0100)
src/game.c
patch
|
blob
|
history
diff --git
a/src/game.c
b/src/game.c
index df3c8b1344bb1e384b77a799c220e6245d4b97d8..8982004f7d5baf11d3a700d75060960f7d17e20a 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-1841,6
+1841,7
@@
static void InitFieldForEngine_RND(int x, int y)
// convert BD engine elements to corresponding R'n'D engine elements
element = (element == EL_BD_EMPTY ? EL_EMPTY :
+ element == EL_BD_PLAYER ? EL_PLAYER_1 :
element == EL_BD_INBOX ? EL_PLAYER_1 :
element == EL_BD_SAND ? EL_SAND :
element == EL_BD_STEELWALL ? EL_STEELWALL :