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
+ }
}
}