From a5399a45f27a566b2fac7628e10ece03eebcf42c Mon Sep 17 00:00:00 2001 From: Buginator Date: Fri, 25 Jun 2010 02:42:06 +0000 Subject: [PATCH] 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 --- src/multimenu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/multimenu.c b/src/multimenu.c index e6536c4d7..84bcbd30a 100644 --- a/src/multimenu.c +++ b/src/multimenu.c @@ -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.