Fixed compiling errors

This commit is contained in:
Greyscale 2009-05-20 22:42:45 -07:00
parent 8edf223dc1
commit b1f8de9526
2 changed files with 3 additions and 3 deletions

View File

@ -245,7 +245,7 @@ public Action:EventPlayerDeath(Handle:event, const String:name[], bool:dontBroad
// Forward event to modules.
ClassOnClientDeath(index);
RoundEndOnClientDeath();
InfectOnClientDeath();
InfectOnClientDeath(index, attacker);
SEffectsOnClientDeath(index);
SpawnProtectOnClientDeath(index);
RespawnOnClientDeath(index, attacker, weapon);

View File

@ -234,7 +234,7 @@ InfectOnClientSpawn(client)
InfectOnClientDeath(client, attacker)
{
// If attacker isn't valid, then stop.
if (!ZRIsValidClient(attacker))
if (!ZRIsClientValid(attacker))
{
return;
}
@ -252,7 +252,7 @@ InfectOnClientDeath(client, attacker)
}
// Add kill bonus to attacker's score.
new bonus = ClassGetKillBonus(index);
new bonus = ClassGetKillBonus(client);
new score = ToolsClientScore(attacker, true, false);
ToolsClientScore(attacker, true, true, score + bonus);
}