diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/object.cpp | 1 | ||||
-rw-r--r-- | src/scenery.cpp | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/src/object.cpp b/src/object.cpp index 1b0aad58..6bab7186 100644 --- a/src/object.cpp +++ b/src/object.cpp @@ -291,6 +291,7 @@ uint32_t object::allocate_frame_time(Ns dt, uint16_t& accum, uint32_t hz, float << ", acc:" << new_accum_ << ", rem:" << rem; #endif + fm_assert(frames < 1 << 22); return frames; } diff --git a/src/scenery.cpp b/src/scenery.cpp index 937fc922..2666f912 100644 --- a/src/scenery.cpp +++ b/src/scenery.cpp @@ -89,7 +89,6 @@ void door_scenery::update(scenery& s, size_t, Ns dt) fm_assert(s.atlas); auto& anim = *s.atlas; const auto nframes = (int)anim.info().nframes; - fm_debug_assert(anim.info().fps > 0 && anim.info().fps <= 0xff); const auto n = (int)s.allocate_frame_time(dt, 1); if (n == 0) return; |