From 3e11cb58c48b18abbd981f72e6fd6d5c14b49218 Mon Sep 17 00:00:00 2001 From: Flugente Date: Sat, 21 Dec 2013 13:22:49 +0000 Subject: [PATCH] Fix: missed target caused display of uninitialized text git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6699 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- Tactical/Interface Control.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tactical/Interface Control.cpp b/Tactical/Interface Control.cpp index b54d2c080..69d07ca23 100644 --- a/Tactical/Interface Control.cpp +++ b/Tactical/Interface Control.cpp @@ -1243,11 +1243,13 @@ void DrawCounters( SOLDIERTYPE *pSoldier ) { case 0: // show damage as usual if( pSoldier->sDamage > 0 ) + { //PrintCounter( sDamageX, sDamageY, pSoldier->sDamage, widthDamage, FONT_MCOLOR_WHITE, PRINT_SCALE_PLAIN_NUMBER ); swprintf( pStr, L"-%d ", pSoldier->sDamage ); gprintfdirty( sDamageX, sDamageY, pStr ); mprintf( sDamageX, sDamageY, pStr ); widthDamage += StringPixLength ( pStr, TINYFONT1 ); + } break; case 1: // show ? indicator if( pSoldier->sDamage != 0 )