diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-19 14:29:48 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-20 08:18:03 +0100 |
commit | f3c46930b43707e57979f08c85d53974f688380d (patch) | |
tree | 0b0e363ffe91ba50b3381011fddad7aceacbc497 /editor/update.cpp | |
parent | 9629cfc4a97241a01654518dd7b8b2636e415866 (diff) |
pass dt to tests
Diffstat (limited to 'editor/update.cpp')
-rw-r--r-- | editor/update.cpp | 4 |
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 |