mirror of
https://github.com/ENSL/NS.git
synced 2024-11-10 07:11:38 +00:00
o Changed the order of weapon/res and latency
o Fixed some issues with spectating the scoreboard. git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@525 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
parent
5c0f9caf6f
commit
5c57cd46e1
2 changed files with 5 additions and 5 deletions
|
@ -150,8 +150,8 @@ SBColumnInfo g_ColumnInfo[NUM_COLUMNS] =
|
|||
{"#SCORE", 40, Label::a_east}, // score
|
||||
{"#KILLS", 40, Label::a_east}, // kills
|
||||
{"#DEATHS", 40, Label::a_east}, // deaths
|
||||
{"#LATENCY", 40, Label::a_east}, // ping
|
||||
{NULL, 40, Label::a_east}, // resources
|
||||
{"#LATENCY", 40, Label::a_east}, // ping
|
||||
{"#VOICE", 40, Label::a_east},
|
||||
{NULL, 2, Label::a_east}, // blank column to take up the slack
|
||||
};
|
||||
|
@ -1252,7 +1252,7 @@ void ScorePanel::FillGrid()
|
|||
if(!theIsForEnemy && theExtraPlayerInfo->teamnumber != TEAM_IND && theExtraPlayerInfo->teamnumber != TEAM_SPECT )
|
||||
{
|
||||
if ( isNsMode ) {
|
||||
if ( gHUD.GetHUDTeam() == TEAM_ONE || gHUD.GetHUDTeam() == TEAM_THREE ) {
|
||||
if ( theExtraPlayerInfo->teamnumber == TEAM_ONE || theExtraPlayerInfo->teamnumber == TEAM_THREE ) {
|
||||
int r=CVAR_GET_FLOAT("cl_iconr");
|
||||
int g=CVAR_GET_FLOAT("cl_icong");
|
||||
int b=CVAR_GET_FLOAT("cl_iconb");
|
||||
|
@ -1285,7 +1285,7 @@ void ScorePanel::FillGrid()
|
|||
break;
|
||||
}
|
||||
}
|
||||
else if ( gHUD.GetHUDTeam() == TEAM_TWO || gHUD.GetHUDTeam() == TEAM_FOUR ) {
|
||||
else if ( theExtraPlayerInfo->teamnumber == TEAM_TWO || theExtraPlayerInfo->teamnumber == TEAM_FOUR ) {
|
||||
sprintf(sz, "%d", theExtraPlayerInfo->extra);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
#define COLUMN_SCORE 4
|
||||
#define COLUMN_KILLS 5
|
||||
#define COLUMN_DEATHS 6
|
||||
#define COLUMN_LATENCY 7
|
||||
#define COLUMN_EXTRA 8
|
||||
#define COLUMN_EXTRA 7
|
||||
#define COLUMN_LATENCY 8
|
||||
#define COLUMN_VOICE 9
|
||||
#define COLUMN_BLANK 10
|
||||
#define NUM_COLUMNS 11
|
||||
|
|
Loading…
Reference in a new issue