From bc837ff53cf99d95bd7588ef79c5851421082664 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 19 Mar 2024 14:29:57 +0100 Subject: cc --- editor/update.cpp | 2 -- src/critter.cpp | 2 +- 2 files changed, 1 insertion(+), 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(dt, delta, hz, speed); + const auto nframes = alloc_frame_time(dt, delta, hz, speed); if (nframes == 0) return; -- cgit v1.2.3