Skip to content

Commit

Permalink
Disable meaningless rank display for now. (Will be re-enabled when lo…
Browse files Browse the repository at this point in the history
…bby server is finished with full rank support)
  • Loading branch information
vexed committed Dec 21, 2015
1 parent 04c736a commit 30ed6e8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/multiint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4295,7 +4295,7 @@ void displayPlayer(WIDGET *psWidget, UDWORD xOffset, UDWORD yOffset, PIELIGHT *p
{
UDWORD x = xOffset + psWidget->x;
UDWORD y = yOffset + psWidget->y;
UDWORD j = psWidget->UserData, eval;
UDWORD j = psWidget->UserData;

const int nameX = 32;

Expand Down Expand Up @@ -4368,7 +4368,8 @@ void displayPlayer(WIDGET *psWidget, UDWORD xOffset, UDWORD yOffset, PIELIGHT *p
iV_SetFont(font_regular);
iV_SetTextColour(WZCOL_FORM_TEXT);
}

iV_DrawImage(FrontImages, IMAGE_WEE_GUY, x + 4, y + 13);
#if 0
PLAYERSTATS stat = getMultiStats(j);
if (stat.wins + stat.losses < 5)
{
Expand All @@ -4379,7 +4380,7 @@ void displayPlayer(WIDGET *psWidget, UDWORD xOffset, UDWORD yOffset, PIELIGHT *p
stat = getMultiStats(j);

// star 1 total droid kills
eval = stat.totalKills;
uint32_t eval = stat.totalKills;
if (eval > 600)
{
iV_DrawImage(FrontImages, IMAGE_MULTIRANK1, x + 4, y + 3);
Expand Down Expand Up @@ -4443,6 +4444,7 @@ void displayPlayer(WIDGET *psWidget, UDWORD xOffset, UDWORD yOffset, PIELIGHT *p
}
}
}
#endif
game.skDiff[j] = UBYTE_MAX; // set AI difficulty to 0xFF (i.e. not an AI)
}
else // AI
Expand Down

0 comments on commit 30ed6e8

Please sign in to comment.