mirror of
https://github.com/ENSL/NS.git
synced 2025-02-17 01:21:45 +00:00
o Spectators now see res/weapon ( including HLTV )
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@581 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
parent
91c9e92981
commit
4314967cf9
1 changed files with 3 additions and 2 deletions
|
@ -1250,7 +1250,7 @@ void ScorePanel::FillGrid()
|
|||
break;
|
||||
|
||||
case COLUMN_EXTRA:
|
||||
if( (!theIsForEnemy || theLocalPlayerTeam == TEAM_SPECT ) && theLocalPlayerTeam != TEAM_IND && theExtraPlayerInfo->teamnumber != TEAM_IND && theExtraPlayerInfo->teamnumber != TEAM_SPECT )
|
||||
if ((theLocalPlayerTeam == theTeamNumber) || (gHUD.GetPlayMode() == PLAYMODE_OBSERVER))
|
||||
{
|
||||
if ( isNsMode ) {
|
||||
if ( theExtraPlayerInfo->teamnumber == TEAM_ONE || theExtraPlayerInfo->teamnumber == TEAM_THREE ) {
|
||||
|
@ -1286,7 +1286,8 @@ void ScorePanel::FillGrid()
|
|||
sprintf(sz, "%d", theExtraPlayerInfo->extra);
|
||||
}
|
||||
}
|
||||
else {
|
||||
else if ( theExtraPlayerInfo->teamnumber == TEAM_ONE || theExtraPlayerInfo->teamnumber == TEAM_TWO ||
|
||||
theExtraPlayerInfo->teamnumber == TEAM_THREE || theExtraPlayerInfo->teamnumber == TEAM_FOUR ) {
|
||||
sprintf(sz, "%d", theExtraPlayerInfo->extra);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue