diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2017-12-14 14:09:07 +0100 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2017-12-14 14:09:07 +0100 |
commit | 154004ae6ac3747769648511cdc77e7171c684d8 (patch) | |
tree | a85cd8be5ee9c83e31f028ee9ffdf0ea1269e4ce /src/game/game.cpp | |
parent | 12143c33141a9c35e8eb01609062655f560b4bc1 (diff) |
The gamelog, being reworking combat.
Diffstat (limited to 'src/game/game.cpp')
-rw-r--r-- | src/game/game.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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)); } } |