From 154004ae6ac3747769648511cdc77e7171c684d8 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Thu, 14 Dec 2017 14:09:07 +0100 Subject: The gamelog, being reworking combat. --- src/game/game.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/game/game.cpp') diff --git a/src/game/game.cpp b/src/game/game.cpp index c2c2c19..f5f57bf 100644 --- a/src/game/game.cpp +++ b/src/game/game.cpp @@ -70,7 +70,8 @@ void state_t::command(v2f_t x) if (unit->dead) continue; - unit->start_moving(snap); + if (!unit->start_moving(snap)) + unit->say(text::get(text::SAY_NO_PATH)); } } -- cgit