Fix showing the unit count in debug mode

2.3: r11030


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

View File

@ -960,7 +960,7 @@ static void displayMultiPlayer(WIDGET *psWidget, UDWORD xOffset, UDWORD yOffset,
if(getDebugMappingStatus()) //Won't pass this when in both release and multiplayer modes if(getDebugMappingStatus()) //Won't pass this when in both release and multiplayer modes
{ {
//c10: Total number of player units in possession //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); iV_DrawText(str, x+MULTIMENU_C10, y+MULTIMENU_FONT_OSET);
//c11: Player power //c11: Player power