From: Holger Schemel Date: Mon, 22 Apr 2024 17:07:58 +0000 (+0200) Subject: fixed animation for invisible exit in BD engine X-Git-Tag: 4.4.0.0-test-1~50 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=1c42160163536a7c68090ddec29cfa21c30e9371;p=rocksndiamonds.git fixed animation for invisible exit in BD engine --- diff --git a/src/game_bd/bd_cave.c b/src/game_bd/bd_cave.c index 0b635df1..d946bac4 100644 --- a/src/game_bd/bd_cave.c +++ b/src/game_bd/bd_cave.c @@ -1522,8 +1522,8 @@ void gd_drawcave_game(const GdCave *cave, // change only graphically if (hate_invisible_outbox) { - elemmapping[O_PRE_INVIS_OUTBOX] = O_PRE_OUTBOX; - elemmapping[O_INVIS_OUTBOX] = O_OUTBOX; + elemmapping[O_PRE_INVIS_OUTBOX] = elemmapping[O_PRE_OUTBOX]; + elemmapping[O_INVIS_OUTBOX] = elemmapping[O_OUTBOX]; } if (hate_invisible_outbox)