summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
Diffstat (limited to 'src/game')
-rw-r--r--src/game/unit_spider.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/unit_spider.cpp b/src/game/unit_spider.cpp
index 32ae178..4f0fbd9 100644
--- a/src/game/unit_spider.cpp
+++ b/src/game/unit_spider.cpp
@@ -51,6 +51,10 @@ void unit_spider_t::target_and_attack(void)
return;
}
+ // Tell everyone about a new target.
+ if (!have_target)
+ hivemind_attack(this, target->x);
+
have_target = true;
wake_time = game->time;
start_moving(target->x);