summaryrefslogtreecommitdiffhomepage
path: root/src/object.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-03-06 00:53:28 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-03-06 00:53:28 +0100
commit85d11eca681e61767edfdacd84a4e845f6b96cec (patch)
treea8448030ffa7478055b4f356e85cbbd93afe68a5 /src/object.cpp
parent152205cffbce23f98cb317d5fc65d1fbb2f6af58 (diff)
test/critter: fix the case of: 0 < accel < 1
Diffstat (limited to 'src/object.cpp')
-rw-r--r--src/object.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/object.cpp b/src/object.cpp
index 5fd29d29..72d922fc 100644
--- a/src/object.cpp
+++ b/src/object.cpp
@@ -311,10 +311,10 @@ uint32_t object::alloc_frame_time(Ns dt, T& accum, uint32_t hz, float speed)
#if 0
DBG_nospace << "alloc-frame-time: "
<< "dt:" << fraction(Time::to_milliseconds(dt)) << "ms"
- << ", secs:" << fraction(Time::to_milliseconds(Ns{nsecs}), 1) << " ms"
- << ", frames:" << frames
- << ", acc:" << new_accum_
- << ", rem:" << rem;
+ << " ticks:" << ticks
+ << " frames:" << nframes
+ << " acc:" << new_accum_
+ << " rem:" << rem;
#endif
fm_assert(nframes < 1 << 12);
return nframes;