Add missing bool

This commit is contained in:
Jackz 2022-08-24 22:37:40 -05:00
parent c68fac6359
commit ab25c65fc1
No known key found for this signature in database
GPG key ID: E0BBD94CF657F603
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View file

@ -88,6 +88,7 @@ stock int L4D_SpawnCommonInfected2(const float vPos[3], const float vAng[3] = {
}
PlayerDetections detections[MAXPLAYERS+1];
bool checkpointReached;
GlobalForward fwd_PlayerDoubleKit, fwd_NoHordeBileWaste, fwd_DoorFaceCloser, fwd_CheckpointDoorFaceCloser;
@ -166,7 +167,6 @@ public void Event_ItemPickup(Event event, const char[] name, bool dontBroadcast)
}
}
bool checkpointReached;
public void EntityOutput_OnStartTouchSaferoom(const char[] output, int caller, int client, float time) {
if(!checkpointReached && client > 0 && client <= MaxClients && GetClientTeam(client) == 2) {
checkpointReached = true;