From: Holger Schemel Date: Thu, 20 Feb 2020 12:56:59 +0000 (+0100) Subject: fixed incorrectly using steelwall border for non-R'n'D engine levels X-Git-Tag: 4.2.0.0~81 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=0a8ad0633d8364a2f152501370f455ea3b33b887;p=rocksndiamonds.git fixed incorrectly using steelwall border for non-R'n'D engine levels --- diff --git a/src/tools.c b/src/tools.c index d05d6365..078af1ba 100644 --- a/src/tools.c +++ b/src/tools.c @@ -1462,8 +1462,8 @@ void SetBorderElement(void) BorderElement = EL_EMPTY; - // the MM game engine does not use a visible border element - if (level.game_engine_type == GAME_ENGINE_TYPE_MM) + // only the R'n'D game engine may use an additional steelwall border + if (level.game_engine_type != GAME_ENGINE_TYPE_RND) return; for (y = 0; y < lev_fieldy && BorderElement == EL_EMPTY; y++)