WarpZone_Init();
hud_skin_path = strzone(strcat("gfx/hud/", autocvar_hud_skin));
- hud_configure_prev = -1;
-
draw_currentSkin = strzone(strcat("gfx/menu/", cvar_string("menu_skin")));
}
void Ent_RemovePlayerScore()
{
- float i;
-
- if(self.owner)
- {
+ if(self.owner) {
SetTeam(self.owner, -1);
self.owner.gotscores = 0;
- for(i = 0; i < MAX_SCORE; ++i)
+ for(int i = 0; i < MAX_SCORE; ++i) {
self.owner.(scores[i]) = 0; // clear all scores
+ }
}
}
else
angles_held_status = 0;
+ if(f & 16)
+ {
+ num_spectators = ReadByte();
+
+ float i, slot;
+
+ for(i = 0; i < MAX_SPECTATORS; ++i)
+ spectatorlist[i] = 0; // reset list first
+
+ for(i = 0; i < num_spectators; ++i)
+ {
+ slot = ReadByte();
+ spectatorlist[i] = slot - 1;
+ }
+ }
+
if(newspectatee_status != spectatee_status)
{
// clear race stuff