diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/scenery.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/scenery.cpp b/src/scenery.cpp index 6e3d08ac..5f82e151 100644 --- a/src/scenery.cpp +++ b/src/scenery.cpp @@ -46,6 +46,7 @@ scenery::scenery(door_tag_t, const anim_atlas& atlas, rotation r, bool is_open) passable{is_open}, blocks_view{!is_open}, interactive{true} { fm_assert(r < rotation_COUNT); + fm_assert(atlas.group(r).frames.size() >= 2); } bool scenery::can_activate() const noexcept |