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:
parent
67191ac794
commit
7723261567
3 changed files with 0 additions and 6 deletions
|
@ -53,10 +53,6 @@ Scores_DrawTeam(player pl, vector pos)
|
|||
continue;
|
||||
}
|
||||
|
||||
if (getplayerkeyfloat(i, "*spec") != 0) {
|
||||
continue;
|
||||
}
|
||||
|
||||
temp = getplayerkeyvalue(i, "name");
|
||||
|
||||
/* Out of players */
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue