summaryrefslogtreecommitdiffhomepage
path: root/editor/tests/walk-test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/tests/walk-test.cpp')
-rw-r--r--editor/tests/walk-test.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/editor/tests/walk-test.cpp b/editor/tests/walk-test.cpp
index e3b6f8d5..0032dda2 100644
--- a/editor/tests/walk-test.cpp
+++ b/editor/tests/walk-test.cpp
@@ -40,10 +40,9 @@ bool pf_test::handle_mouse_click(app& a, const mouse_button_event& e, bool is_do
{
if (auto ptʹ = a.cursor_state().point())
{
-
auto C = a.ensure_player_character(m.world()).ptr;
fm_assert(C->is_dynamic());
- auto S = critter_script::make_walk_script(*ptʹ, {}, critter_script::walk_mode::line);
+ auto S = critter_script::make_walk_script(*ptʹ);
C->script.do_reassign(move(S), move(C));
return true;
}