entity client = M_ARGV(0, entity);
entity targ = M_ARGV(1, entity);
- if (autocvar_g_ca_spectate_enemies != 0 && INGAME(client))
+ if (autocvar_g_ca_spectate_enemies != 1 && INGAME(client))
if (DIFF_TEAM(targ, client))
return true;
}
{
entity client = M_ARGV(0, entity);
- if (autocvar_g_ca_spectate_enemies != 0 && INGAME(client)
+ if (autocvar_g_ca_spectate_enemies != 1 && INGAME(client)
&& Team_GetNumberOfAlivePlayers(Entity_GetTeam(client)))
{
entity targ = M_ARGV(1, entity);
entity targ = M_ARGV(1, entity);
entity first = M_ARGV(2, entity);
- if (autocvar_g_ca_spectate_enemies != 0 && INGAME(client)
+ if (autocvar_g_ca_spectate_enemies != 1 && INGAME(client)
&& Team_GetNumberOfAlivePlayers(Entity_GetTeam(client)))
{
do { targ = targ.chain; }