if not(wpforenemy_announced)
{
FOR_EACH_REALPLAYER(tmp_entity)
- {
if(tmp_entity.flagcarried)
centerprint(tmp_entity, "Stalemate! Enemies can now see you on radar!");
else
centerprint(tmp_entity, "Stalemate! Flag carriers can now be seen by enemies on radar!");
- }
wpforenemy_announced = TRUE;
}
ctf_CheckFlagReturn(self, RETURN_NEEDKILL);
return;
}
-
if(autocvar_g_ctf_flag_return_damage)
{
// reduce health and check if it should be returned
case FLAG_DROPPED:
{
if(autocvar_g_ctf_flag_dropped_floatinwater && (self.flags & FL_INWATER))
- self.velocity_z = autocvar_g_ctf_flag_dropped_floatinwater;
+ self.velocity_z = autocvar_g_ctf_flag_dropped_floatinwater;
if(autocvar_g_ctf_flag_return_dropped)
{
}
break;
}
-
- default: // this should never happen
- {
- dprint("Touch: Flag exists with no status?\n");
- break;
- }
}
}