summaryrefslogtreecommitdiffhomepage
path: root/src/scenery.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-03-05 14:27:29 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-03-05 14:27:29 +0100
commitb3e0051822039ded46eacefb3d696a8f9ebcb954 (patch)
treebf73b6f305bd6ce08d9b532356cf3a64ad271e7d /src/scenery.cpp
parent13c5225a2ad494fd3ede13a5973bceacde03452a (diff)
rename allocate_frame_time -> alloc_frame_time
Diffstat (limited to 'src/scenery.cpp')
-rw-r--r--src/scenery.cpp2
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;