diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-06 16:04:38 +0100 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-06 17:31:11 +0100 |
| commit | 270a1ddbb91995c501fcd407045bf1fc4324ea15 (patch) | |
| tree | b0b92354bdf67a01b22e59ccdb1fedd6637006a1 /src/critter.cpp | |
| parent | 2d57d7a8baf9ef6912dba92b518ec2b9c040f26d (diff) | |
src/object: switch delta to 32-bit
Diffstat (limited to 'src/critter.cpp')
| -rw-r--r-- | src/critter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/critter.cpp b/src/critter.cpp index abb80865..72c06133 100644 --- a/src/critter.cpp +++ b/src/critter.cpp @@ -157,7 +157,7 @@ void critter::update_movement(size_t i, Ns dt, rotation new_r) fm_assert(is_dynamic()); const auto hz = atlas->info().fps; - const auto nframes = alloc_frame_time<uint16_t>(dt, delta, hz, speed); + const auto nframes = alloc_frame_time<uint32_t>(dt, delta, hz, speed); if (nframes == 0) return; |
