Fixed napalm error. Fixed specatators/invalid players showing up in force zspawn/ztele. Fixed knife alpha (untested)

This commit is contained in:
Greyscale
2009-07-21 13:25:11 -07:00
parent 98116d08f7
commit fe5ed637cc
8 changed files with 86 additions and 50 deletions

View File

@ -72,7 +72,7 @@ RoundStartOnRoundStart()
/**
* Kills all objective entities.
*/
RoundStartKillObjectives()
stock RoundStartKillObjectives()
{
decl String:classname[64];
@ -92,12 +92,10 @@ RoundStartKillObjectives()
GetEdictClassname(x, classname, sizeof(classname));
// Check if it matches any objective entities, then stop if it doesn't.
if(StrContains(ROUNDSTART_OBJECTIVE_ENTITIES, classname) == -1)
if(StrContains(ROUNDSTART_OBJECTIVE_ENTITIES, classname) > -1)
{
continue;
// Entity is an objective, kill it.
RemoveEdict(x);
}
// Entity is an objective, kill it.
RemoveEdict(x);
}
}