diff options
Diffstat (limited to 'src/scenery.cpp')
-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 277a76b5..aa558f52 100644 --- a/src/scenery.cpp +++ b/src/scenery.cpp @@ -89,7 +89,7 @@ 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; - const auto n = (int)s.allocate_frame_time<uint16_t>(dt, s.delta, s.atlas->info().fps, 1); + const auto n = (int)s.alloc_frame_time(dt, s.delta, s.atlas->info().fps, 1); if (n == 0) return; const int8_t dir = closing ? 1 : -1; |