From b0cb2054fae07a688174d6b78fd310c986233de3 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Mon, 18 Dec 2017 19:55:43 +0000 Subject: Drastically reduce the number of awake entities. --- src/game/units.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/game/units.cpp') 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; -- cgit