Instead of showing score of 0 when people have cheated (shame on you!) display '(cheated)' to make it more clear.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/2.3@11558 4a71c877-e1ca-e34f-864e-861f7616d084
(cherry picked from commit 7da9390c7e51b282f75daed7760c2ed358bdbb1b)
master
Buginator 2010-08-29 21:55:12 +00:00 committed by buginator
parent f4c3d7ec8e
commit 2bb1a51bc1
1 changed files with 17 additions and 2 deletions

View File

@ -52,6 +52,7 @@
#include "multiint.h"
#include "multigifts.h"
#include "multijoin.h"
#include "mission.h"
#include "scores.h"
#include "keymap.h"
#include "loop.h"
@ -916,7 +917,14 @@ static void displayMultiPlayer(WIDGET *psWidget, UDWORD xOffset, UDWORD yOffset,
if (NetPlay.bComms)
{
//c8:score,
sprintf(str,"%d",getMultiStats(player).recentScore);
if (Cheated)
{
sprintf(str,"(cheated)");
}
else
{
sprintf(str,"%d",getMultiStats(player).recentScore);
}
iV_DrawText(str, x+MULTIMENU_C8, y+MULTIMENU_FONT_OSET);
//c9:kills,
@ -980,7 +988,14 @@ static void displayMultiPlayer(WIDGET *psWidget, UDWORD xOffset, UDWORD yOffset,
if (NetPlay.bComms)
{
//c8:score,
sprintf(str,"%d",getMultiStats(player).recentScore);
if (Cheated)
{
sprintf(str,"(cheated)");
}
else
{
sprintf(str,"%d",getMultiStats(player).recentScore);
}
iV_DrawText(str, x+MULTIMENU_C8, y+MULTIMENU_FONT_OSET);
//c9:kills,