Fixed compiling errors

This commit is contained in:
Greyscale committed 2009-05-20 22:42:45 -07:00
1 parent 8edf223dc1
commit b1f8de9526
2 files changed
+3 -3

No files matched your search

+2 -2
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);
}