mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-22 10:22:48 +01:00
- minor fix for survival
This commit is contained in:
parent
3fdd9db9dc
commit
d72f348914
@ -778,7 +778,7 @@ void ControlCopDetection(void)
|
||||
else
|
||||
player_position_known = 2;
|
||||
|
||||
CopsCanSeePlayer = 0;
|
||||
CopsCanSeePlayer = (GameType == GAME_SURVIVAL);
|
||||
|
||||
minDistanceToPlayer = 0xFFFFFFFF;
|
||||
|
||||
@ -980,6 +980,7 @@ void PassiveCopTasks(CAR_DATA *cp)
|
||||
InitCopState(cp, NULL);
|
||||
|
||||
cp->ai.p.justPinged = 0;
|
||||
|
||||
numCivCars--;
|
||||
numActiveCops++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user