From: Holger Schemel Date: Mon, 23 Jan 2023 22:39:09 +0000 (+0100) Subject: fixed regression bug with growing steel wall turning into normal wall X-Git-Tag: 4.3.5.0~30 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=c3045a688a2c4799a22bbc656b7201b01e1a413a;p=rocksndiamonds.git 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). --- 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);