Skip to content

Commit

Permalink
- revert one of bug fixes to original code and fix cop loosing player…
Browse files Browse the repository at this point in the history
… issue
  • Loading branch information
SoapyMan committed Feb 6, 2022
1 parent 6b780a8 commit 786f7db
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src_rebuild/Game/C/cop_ai.c
Original file line number Diff line number Diff line change
Expand Up @@ -1189,8 +1189,7 @@ void ControlCops(void)

copsWereInPursuit = 0;

if (CopsCanSeePlayer && OutOfSightCount < 256 || // [A] was player_position_known. Resolves speech in some missions
player_position_known > 1 && GameType == GAME_GETAWAY)
if (player_position_known > 0)
{
if (*playerFelony > FELONY_PURSUIT_MIN_VALUE)
copsWereInPursuit = 1;
Expand Down

0 comments on commit 786f7db

Please sign in to comment.