Refactor all global states to global enum struct

This commit is contained in:
Jackz 2022-06-27 12:18:54 -05:00
parent 65d1f83fec
commit 7b2d573ee0
No known key found for this signature in database
GPG key ID: E0BBD94CF657F603
9 changed files with 109 additions and 93 deletions

View file

@ -105,7 +105,7 @@ bool ProcessSpecialQueue() {
// BypassLimit();
int tank = L4D2_SpawnTank(spActiveRequest.position, spActiveRequest.angle);
if(tank > 0 && IsClientConnected(tank))
g_iAttackerTarget[tank] = spActiveRequest.targetUserId;
pdata[tank].attackerTargetUid = spActiveRequest.targetUserId;
return ProcessSpecialQueue();
}
return true;