diff --git a/Tactical/Interface Items.cpp b/Tactical/Interface Items.cpp index db4f14bc2..3bcd040da 100644 --- a/Tactical/Interface Items.cpp +++ b/Tactical/Interface Items.cpp @@ -5781,6 +5781,10 @@ void RenderBulletIcon(OBJECTTYPE *pObject, UINT32 ubStatusIndex) if(!gfInItemDescBox) return; + // Flugente: if the ammo button does not exist, no point in entering its text... + if ( giItemDescAmmoButton < 0 ) + return; + if ( GetMagSize(pObject) <= 99 ) swprintf( pStr, L"%d/%d", (*pObject)[ubStatusIndex]->data.gun.ubGunShotsLeft, GetMagSize(pObject)); else