From: Holger Schemel Date: Sat, 25 Feb 2017 18:54:28 +0000 (+0100) Subject: added using invisible border element for Mirror Magic game engine X-Git-Tag: 4.1.0.0~190 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=f2b45a285c9afdecdfb11b84411724ce17a42fb8;p=rocksndiamonds.git added using invisible border element for Mirror Magic game engine --- diff --git a/src/tools.c b/src/tools.c index e9ee41ae..3dd167c7 100644 --- a/src/tools.c +++ b/src/tools.c @@ -1360,6 +1360,10 @@ void SetBorderElement() BorderElement = EL_EMPTY; + /* the MM game engine does not use a visible border element */ + if (level.game_engine_type == GAME_ENGINE_TYPE_MM) + return; + for (y = 0; y < lev_fieldy && BorderElement == EL_EMPTY; y++) { for (x = 0; x < lev_fieldx; x++)