From c3045a688a2c4799a22bbc656b7201b01e1a413a Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Mon, 23 Jan 2023 23:39:09 +0100 Subject: [PATCH] fixed regression bug with growing steel wall turning into normal wall This fixes a very nasty bug in commit 4b754efd that caused growing steel wall turning into normal wall instead of steel wall (which is not immediately visible as growing wall animations use steel wall). --- src/game.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game.c b/src/game.c index 31a52004..68916166 100644 --- a/src/game.c +++ b/src/game.c @@ -9859,7 +9859,7 @@ static void CheckWallGrowing(int ax, int ay) if (((stop_top && stop_bottom) || stop_horizontal) && ((stop_left && stop_right) || stop_vertical)) - Tile[ax][ay] = EL_WALL; + Tile[ax][ay] = (is_steelwall ? EL_STEELWALL : EL_WALL); if (new_wall) PlayLevelSoundAction(ax, ay, ACTION_GROWING); -- 2.34.1