From 68afd10851e01872c5c7774a2c1a09039d6e61d7 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Tue, 7 Nov 2017 11:01:20 +0100 Subject: Improve path finding. The path finder will avoid paths that would intersect obstacles. --- src/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index 91cf4d2..a2f4bbc 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -116,7 +116,7 @@ void state_t::start(void) human.size[1] = v2f_t(+0.4f, +0.4f); human.render_size[0] = v2f_t(-0.5f, -1.0f); human.render_size[1] = v2f_t(+0.5f, +0.5f); - human.place(&world, v2f_t(0.5f, 0.5f)); + human.place(&world, v2f_t(2.5f, -3.5f)); human2.size[0] = v2f_t(-0.4f, -0.4f); human2.size[1] = v2f_t(+0.4f, +0.4f); -- cgit