From: Holger Schemel Date: Sun, 3 Jan 2016 13:04:09 +0000 (+0100) Subject: fixed switching from inactive to active Supaplex terminal X-Git-Tag: 4.0.0.0-rc1~101 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=c3532cf04fbf4f409f59b0aeb2ac4e1802b8b642;p=rocksndiamonds.git fixed switching from inactive to active Supaplex terminal --- diff --git a/src/game.c b/src/game.c index 388dd2e8..adc7f2d6 100644 --- a/src/game.c +++ b/src/game.c @@ -13656,9 +13656,16 @@ static int DigField(struct PlayerInfo *player, SCAN_PLAYFIELD(xx, yy) { if (Feld[xx][yy] == EL_SP_DISK_YELLOW) + { Bang(xx, yy); + } else if (Feld[xx][yy] == EL_SP_TERMINAL) + { Feld[xx][yy] = EL_SP_TERMINAL_ACTIVE; + + ResetGfxAnimation(xx, yy); + TEST_DrawLevelField(xx, yy); + } } } else if (IS_BELT_SWITCH(element))