summaryrefslogtreecommitdiff
path: root/src/game/game.cpp
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2017-12-16 15:48:24 +0100
committerPaweł Redman <pawel.redman@gmail.com>2017-12-16 15:48:24 +0100
commitb13dc31b08cddf14ecfa6b8cf496cf4e7308083c (patch)
tree8905b2d680c24d1f5c185479f0c94694a58e2122 /src/game/game.cpp
parenta62ac36a7e401b39d760237778623f5a2b13f91f (diff)
Better tile textures.
Diffstat (limited to 'src/game/game.cpp')
-rw-r--r--src/game/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/game.cpp b/src/game/game.cpp
index 285f75d..3005bd5 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, CF_SOLID))
+ if (!unit->start_moving(snap, CF_SOLID | CF_WATER))
unit->say(text::get(text::SAY_NO_PATH));
else
unit->say(text::get(text::SAY_MOVING));