added converting BD style grass for R'n'D game engine
authorHolger Schemel <holger.schemel@virtion.de>
Fri, 13 Dec 2024 20:11:38 +0000 (21:11 +0100)
committerHolger Schemel <holger.schemel@virtion.de>
Fri, 13 Dec 2024 16:12:22 +0000 (17:12 +0100)
src/game.c

index dfa43ee74817431ed7940325a0d3fab74b6fcd30..72562d28ea5089d546d98232cb5acb6d96c5da66 100644 (file)
@@ -1849,6 +1849,7 @@ static void InitFieldForEngine_RND(int x, int y)
             element == EL_BDX_PLAYER                           ? EL_PLAYER_1 :
             element == EL_BDX_INBOX                            ? EL_PLAYER_1 :
             element == EL_BDX_SAND                             ? EL_SAND :
+            element == EL_BDX_GRASS                            ? EL_EMC_GRASS :
             element == EL_BDX_WALL                             ? EL_BD_WALL :
             element == EL_BDX_STEELWALL                        ? EL_STEELWALL :
             element == EL_BDX_ROCK                             ? EL_BD_ROCK :