From b081361ceb158f03f675329410da231c0b3ffca5 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 24 Mar 2024 16:01:14 +0100 Subject: fix compile error --- test/critter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/critter.cpp') diff --git a/test/critter.cpp b/test/critter.cpp index f2c8c8b7..c9f13a19 100644 --- a/test/critter.cpp +++ b/test/critter.cpp @@ -313,7 +313,7 @@ void test3(StringView instance_name, const Function& make_dt, double accel, rota { // reproduce the bug from commit 2b5a6e3f object_id id = 0; - auto npc = w.ensure_player_character(id, make_proto(accel)).ptr; + auto npc = w.ensure_player_character(id, make_proto((float)accel)).ptr; npc->set_bbox({}, {}, {1,1}, pass_mode::blocked); } -- cgit v1.2.3