summaryrefslogtreecommitdiffhomepage
path: root/editor/update.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-03-19 14:29:48 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-03-20 08:18:03 +0100
commitf3c46930b43707e57979f08c85d53974f688380d (patch)
tree0b0e363ffe91ba50b3381011fddad7aceacbc497 /editor/update.cpp
parent9629cfc4a97241a01654518dd7b8b2636e415866 (diff)
pass dt to tests
Diffstat (limited to 'editor/update.cpp')
-rw-r--r--editor/update.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/update.cpp b/editor/update.cpp
index 6987b411..1fdbe31b 100644
--- a/editor/update.cpp
+++ b/editor/update.cpp
@@ -279,14 +279,14 @@ void app::update(Ns dt)
M->world().collect(true);
update_cursor_tile(cursor.pixel);
- tests_pre_update();
+ tests_pre_update(dt);
apply_commands(*keys_);
update_character(dt);
update_world(dt);
do_camera(dt, *keys_, get_key_modifiers());
clear_non_repeated_keys();
set_cursor();
- tests_post_update();
+ tests_post_update(dt);
}
} // namespace floormat