From 36a95838d17ffaee4020a2aba832af6636591df4 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Thu, 14 Dec 2017 17:13:36 +0100 Subject: Rework collision masks and improve AI. --- src/game/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/game.cpp') diff --git a/src/game/game.cpp b/src/game/game.cpp index 836b304..826f9e5 100644 --- a/src/game/game.cpp +++ b/src/game/game.cpp @@ -75,7 +75,7 @@ void state_t::command(v2f_t x) if (unit->dead) continue; - if (!unit->start_moving(snap)) + if (!unit->start_moving(snap, CF_SOLID)) unit->say(text::get(text::SAY_NO_PATH)); else unit->say(text::get(text::SAY_MOVING)); -- cgit