From 90ee22b76067d98c14fa6e39af286376aefa5a6f Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 1 Feb 2017 01:13:26 +0100 Subject: [PATCH] - don't let monsters without a See state disappear if they try to enter it. --- src/p_enemy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_enemy.cpp b/src/p_enemy.cpp index e93f41ce5..2926e4e8c 100644 --- a/src/p_enemy.cpp +++ b/src/p_enemy.cpp @@ -2049,7 +2049,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_Look) } } - if (self->target) + if (self->target && self->SeeState) { self->SetState (self->SeeState); }