summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-03-19 14:29:57 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-03-20 08:18:03 +0100
commitbc837ff53cf99d95bd7588ef79c5851421082664 (patch)
treecb470d2df1d6b80d04cbafba85b35503e527a8fa
parentf3c46930b43707e57979f08c85d53974f688380d (diff)
cc
-rw-r--r--editor/update.cpp2
-rw-r--r--src/critter.cpp2
2 files changed, 1 insertions, 3 deletions
diff --git a/editor/update.cpp b/editor/update.cpp
index 1fdbe31b..55d0ec4a 100644
--- a/editor/update.cpp
+++ b/editor/update.cpp
@@ -275,9 +275,7 @@ auto app::get_z_bounds() -> z_bounds
void app::update(Ns dt)
{
- //M->world().collect();
M->world().collect(true);
-
update_cursor_tile(cursor.pixel);
tests_pre_update(dt);
apply_commands(*keys_);
diff --git a/src/critter.cpp b/src/critter.cpp
index 5c5ff3eb..e5341ee6 100644
--- a/src/critter.cpp
+++ b/src/critter.cpp
@@ -171,7 +171,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<uint32_t>(dt, delta, hz, speed);
+ const auto nframes = alloc_frame_time(dt, delta, hz, speed);
if (nframes == 0)
return;