summaryrefslogtreecommitdiff
path: root/src/game/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/game.cpp')
-rw-r--r--src/game/game.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/game/game.cpp b/src/game/game.cpp
index 64dd224..fb130d9 100644
--- a/src/game/game.cpp
+++ b/src/game/game.cpp
@@ -163,7 +163,12 @@ void state_t::wake_everything(v2f_t x, float range)
if (!ent)
continue;
- if (ent->ignore_waking || ent->awake)
+ if (ent->ignore_waking)
+ continue;
+
+ ent->wake_time = now;
+
+ if (ent->awake)
continue;
ent->wake();