fixed zspawn exploit (spawn as human after infection by suiciding and zspawning)

This commit is contained in:
2016-02-17 00:48:42 +01:00
parent 3afde85238
commit db0de91a18
2 changed files with 37 additions and 1 deletions

View File

@ -801,6 +801,7 @@ InfectHumanToZombie(client, attacker = -1, bool:motherinfect = false, bool:respa
ZHPOnClientInfected(client);
APIOnClientInfected(client, attacker, motherinfect, respawnoverride, respawn);
ImmunityOnClientInfected(client);
ZSpawnOnClientInfected(client);
}
/**
@ -867,6 +868,7 @@ InfectZombieToHuman(client, bool:respawn = false, bool:protect = false)
SEffectsOnClientHuman(client);
APIOnClientHumanPost(client, respawn, protect);
ImmunityOnClientHuman(client);
ZSpawnOnClientHuman(client);
}
/**