diff options
-rw-r--r-- | src/game/units.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/units.cpp b/src/game/units.cpp index 279bf0b..9a098a8 100644 --- a/src/game/units.cpp +++ b/src/game/units.cpp @@ -308,6 +308,9 @@ void unit_soldier_t::check_area(void) if (!ent) continue; + if (ent == this) + continue; + // Wake everything around. if (!ent->ignore_waking) { ent->wake_time = game->now; |