diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-30 16:29:56 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-30 16:30:25 +0100 |
commit | 13042bb941068e7f36ca7b292301a9aba0f4b3d5 (patch) | |
tree | 1897c4b27908cc09a8e2f5038633298a8408e8b2 | |
parent | 3299d6e6be7281bd0b670ded9f2c0bc431514de1 (diff) |
scenery: clear 'closing' flag when finished
-rw-r--r-- | src/scenery.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scenery.cpp b/src/scenery.cpp index 23967af8..4056f49f 100644 --- a/src/scenery.cpp +++ b/src/scenery.cpp @@ -82,7 +82,7 @@ void scenery::update(float dt, const anim_atlas& anim) blocks_view = !passable; frame = (frame_t)std::clamp(fr, 0, nframes-1); if (!active) - delta = 0; + delta = closing = 0; break; } } |