From e47495fe0df3afbcb989c4d1d647f9388d626f64 Mon Sep 17 00:00:00 2001 From: Wanne Date: Tue, 21 Jul 2009 08:12:15 +0000 Subject: [PATCH] - Bugfix: EDB: Rendering of "Hide Muzzle Flash" icon git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@3120 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- Tactical/Interface Enhanced.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Tactical/Interface Enhanced.cpp b/Tactical/Interface Enhanced.cpp index b846ce43..30700e4c 100644 --- a/Tactical/Interface Enhanced.cpp +++ b/Tactical/Interface Enhanced.cpp @@ -5987,6 +5987,11 @@ void DrawMiscValues( OBJECTTYPE * gpItemDescObject ) // HIDE MUZZLE FLASH // NO DATA SHOWN, icon either appears or does not appear. + // HEADROCK HAM 3.5 - Fixed this, because the count needs to be increased to skip a line! + if ( Item[ gpItemDescObject->usItem ].hidemuzzleflash > 0 && cnt<=27 ) + { + cnt++; + } // BIPOD if ( Item[ gpItemDescObject->usItem ].bipod != 0 && cnt<=27 )