- fixed: In Raven games, don't chase after monsters in the titlemap or when actor has a goal.

This commit is contained in:
Christoph Oelckers 2014-09-13 10:40:56 +02:00
parent 2be3b776d8
commit f0e9fde336

View file

@ -1600,7 +1600,10 @@ bool P_LookForPlayers (AActor *actor, INTBOOL allaround, FLookExParams *params)
if (!(gameinfo.gametype & (GAME_DoomStrifeChex)) && if (!(gameinfo.gametype & (GAME_DoomStrifeChex)) &&
!multiplayer && !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 { // Single player game and player is dead; look for monsters
return P_LookForMonsters (actor); return P_LookForMonsters (actor);
} }