mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +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)) &&
|
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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue