summaryrefslogtreecommitdiff
path: root/src/game/units.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/units.cpp
parenta62ac36a7e401b39d760237778623f5a2b13f91f (diff)
Better tile textures.
Diffstat (limited to 'src/game/units.cpp')
-rw-r--r--src/game/units.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/units.cpp b/src/game/units.cpp
index bbba372..73e1cf0 100644
--- a/src/game/units.cpp
+++ b/src/game/units.cpp
@@ -382,7 +382,7 @@ alien_t::alien_t(game::state_t *game) : unit_t(game, UNIT_ALIEN)
void alien_t::wake(unit_t *by_whom)
{
- start_moving(by_whom->x, CF_SOLID);
+ start_moving(by_whom->x, CF_SOLID | CF_WATER);
next_targetting = game->now + 0.2;
}
@@ -415,7 +415,7 @@ void alien_t::think(void)
}
}
- start_moving(target->x, CF_SOLID);
+ start_moving(target->x, CF_SOLID | CF_WATER);
}
next_targetting = game->now + 0.2;