Fix showing the unit count in debug mode

2.3: r11030


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11031 4a71c877-e1ca-e34f-864e-861f7616d084
master
Buginator 2010-06-25 02:41:04 +00:00 committed by Git SVN Gateway
parent c77a8f43f9
commit 4e51a7c144
1 changed files with 2 additions and 2 deletions

View File

@ -960,12 +960,12 @@ static void displayMultiPlayer(WIDGET *psWidget, UDWORD xOffset, UDWORD yOffset,
if(getDebugMappingStatus()) //Won't pass this when in both release and multiplayer modes
{
//c10: Total number of player units in possession
sprintf(str,"%d",getNumDroids(player));
sprintf(str,"%d",getNumDroids(player) + getNumTransporterDroids(player));
iV_DrawText(str, x+MULTIMENU_C10, y+MULTIMENU_FONT_OSET);
//c11: Player power
sprintf(str, "%u", (int)getPower(player));
iV_DrawText(str, MULTIMENU_FORM_X+MULTIMENU_C11, y+MULTIMENU_FONT_OSET);
iV_DrawText(str, MULTIMENU_FORM_X+MULTIMENU_C11, y+MULTIMENU_FONT_OSET);
}
// a droid of theirs.