From f0e9fde33662a6ab65ca0ed6ec6ef611bb8f4b7d Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 13 Sep 2014 10:40:56 +0200 Subject: [PATCH] - fixed: In Raven games, don't chase after monsters in the titlemap or when actor has a goal. --- src/p_enemy.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/p_enemy.cpp b/src/p_enemy.cpp index bdc72b0c8..00e2a3dc2 100644 --- a/src/p_enemy.cpp +++ b/src/p_enemy.cpp @@ -1600,7 +1600,10 @@ bool P_LookForPlayers (AActor *actor, INTBOOL allaround, FLookExParams *params) if (!(gameinfo.gametype & (GAME_DoomStrifeChex)) && !multiplayer && - players[0].health <= 0) + players[0].health <= 0 && + actor->goal == NULL && + gamestate != GS_TITLELEVEL + ) { // Single player game and player is dead; look for monsters return P_LookForMonsters (actor); }