mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-15 16:51:31 +00:00
- fixed: In Raven games, don't chase after monsters in the titlemap or when actor has a goal.
This commit is contained in:
parent
2be3b776d8
commit
f0e9fde336
1 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue