Fix that dead but spectating team members don't show up in the scoreboard.

Spectators already are team 0, so they wouldn't be queried here anyway!
This commit is contained in:
Marco Cawthorne 2021-05-12 15:48:19 +02:00
parent 67191ac794
commit 7723261567
3 changed files with 0 additions and 6 deletions

View File

@ -53,10 +53,6 @@ Scores_DrawTeam(player pl, vector pos)
continue;
}
if (getplayerkeyfloat(i, "*spec") != 0) {
continue;
}
temp = getplayerkeyvalue(i, "name");
/* Out of players */

View File

@ -123,7 +123,6 @@ HLMultiplayerRules::PlayerSpawn(base_player pp)
setmodel(pl, pl.model);
setsize(pl, VEC_HULL_MIN, VEC_HULL_MAX);
pl.view_ofs = VEC_PLAYER_VIEWPOS;
pl.velocity = [0,0,0];
pl.gravity = __NULL__;
pl.frame = 1;

View File

@ -73,7 +73,6 @@ HLSingleplayerRules::PlayerSpawn(base_player pl)
setmodel(pl, pl.model);
setsize(pl, VEC_HULL_MIN, VEC_HULL_MAX);
pl.view_ofs = VEC_PLAYER_VIEWPOS;
pl.velocity = [0,0,0];
pl.gravity = __NULL__;
pl.frame = 1;