- Nam: don't draw the icon for weapon 7 on the HUD.

This is just a blue square. In RedNukem it isn't shown, but there's no special code for it.
This commit is contained in:
Christoph Oelckers 2022-01-08 21:58:15 +01:00
parent 3c2c53c7e1
commit 7c4319d099

View file

@ -198,8 +198,8 @@ class DukeStatusBar : DukeCommonStatusBar
{
DrawString(numberFont, format, (-3, texty), DI_TEXT_ALIGN_RIGHT, Font.CR_UNTRANSLATED);
}
DrawTexture(img, (-imgX, -1.5), DI_ITEM_RIGHT_BOTTOM, scale:(imgScale, imgScale));
if (weapon != 7 || !Raze.isNam())
DrawTexture(img, (-imgX, -1.5), DI_ITEM_RIGHT_BOTTOM, scale:(imgScale, imgScale));
}
//