diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-24 16:01:14 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-24 16:01:14 +0100 |
commit | b081361ceb158f03f675329410da231c0b3ffca5 (patch) | |
tree | d3cb8d90842e7cfd8129eb6235d6cfae7686547b /test/critter.cpp | |
parent | fe0d29dccc73228091fd4e2e470c5391d3045220 (diff) |
fix compile error
Diffstat (limited to 'test/critter.cpp')
-rw-r--r-- | test/critter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |