summaryrefslogtreecommitdiff
path: root/src/game/units.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/units.cpp')
-rw-r--r--src/game/units.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game/units.cpp b/src/game/units.cpp
index 24b9567..ef7fc6f 100644
--- a/src/game/units.cpp
+++ b/src/game/units.cpp
@@ -277,7 +277,6 @@ unit_soldier_t::unit_soldier_t(game::state_t *game) : unit_t(game, UNIT_SOLDIER)
name = text::get(text::UNIT_NAME_SOLDIER);
- ignore_waking = true; // Always awake.
wake();
friendly = true;
controllable = true;
@@ -484,6 +483,8 @@ unit_spider_t::unit_spider_t(game::state_t *game) : unit_t(game, UNIT_SPIDER)
name = text::get(text::UNIT_NAME_SPIDER);
+ ignore_waking = false;
+
health = max_health = 4;
cs.armor_class = 15;
cs.hit_die = die_t(3, 6);
@@ -564,6 +565,8 @@ unit_nest_t::unit_nest_t(game::state_t *game_) : unit_t(game_, UNIT_NEST)
name = text::get(text::UNIT_NAME_NEST);
+ ignore_waking = false;
+
health = max_health = 45;
cs.armor_class = 5;