summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2017-12-20 18:09:25 +0100
committerPaweł Redman <pawel.redman@gmail.com>2017-12-20 18:09:25 +0100
commitcb079c34858a106f7104cc160208e2e27f1057ea (patch)
treedecb04e6234a1ed847b97dbcf4f77ea1b82c47a8
parentf04727a555f71d40f78697f55206d7f3e6ebed01 (diff)
Stop spiders from walking through each other.
-rw-r--r--src/game/units.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/units.cpp b/src/game/units.cpp
index 308687d..35961ef 100644
--- a/src/game/units.cpp
+++ b/src/game/units.cpp
@@ -527,7 +527,7 @@ unit_spider_t::unit_spider_t(game::state_t *game) : unit_t(game, UNIT_SPIDER)
render_size[0] = v2f_t(-0.3f, -0.3f);
render_size[1] = v2f_t(+0.3f, +0.3f);
cmodel.cflags = CF_BODY_SMALL;
- move.cflags = CF_SOLID | CF_WATER;
+ move.cflags = CF_SOLID | CF_WATER | CF_BODY_SMALL;
name = text::get(text::UNIT_NAME_SPIDER);