X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Ftools.c;h=55c757afa9c215d63c56ffc20b64ed02518bc6d3;hb=608452efc3cb8d145639e0f401d85996dfc4e698;hp=2838908d99e93954787d83d96547b9df58cb95e2;hpb=72b5ebcb15f3d2c9a30733c4fafffd7b0e7a1d9c;p=rocksndiamonds.git diff --git a/src/tools.c b/src/tools.c index 2838908d..55c757af 100644 --- a/src/tools.c +++ b/src/tools.c @@ -4770,7 +4770,7 @@ unsigned int MoveDoor(unsigned int door_state) door_state &= ~DOOR_CLOSE_ALL; } - if (game_status == GAME_MODE_EDITOR) + if (game_status == GAME_MODE_EDITOR && !(door_state & DOOR_FORCE_ANIM)) door_state |= DOOR_NO_DELAY; if (door_state & DOOR_ACTION)