diff --git a/source/src/renderhud.cpp b/source/src/renderhud.cpp index 6ed0ea39..3555db73 100644 --- a/source/src/renderhud.cpp +++ b/source/src/renderhud.cpp @@ -333,6 +333,7 @@ void drawequipicons(playerent *p) // health & armor if(p->armour) drawequipicon(HUDPOS_ARMOUR*2, 1650, (p->armour-1)/25, 2); + if(p->mag[GUN_GRENADE]) drawequipicon(oldfashionedgunstats ? (HUDPOS_GRENADE + (((float)screen->w / (float)screen->h > 1.5f) ? 75 : 25)) * 2 : HUDPOS_GRENADE*2, 1650, 3, 1); drawequipicon(HUDPOS_HEALTH*2, 1650, 2, 3); if(p->mag[GUN_GRENADE]) drawequipicon(oldfashionedgunstats ? (HUDPOS_GRENADE + 25)*2 : HUDPOS_GRENADE*2, 1650, 3, 1); diff --git a/source/src/weapon.cpp b/source/src/weapon.cpp index 3c992e74..bf6b64f2 100644 --- a/source/src/weapon.cpp +++ b/source/src/weapon.cpp @@ -1340,7 +1340,7 @@ void grenades::renderstats() { char gunstats[64]; sprintf(gunstats, "%d", mag); - draw_text(gunstats, oldfashionedgunstats ? HUDPOS_GRENADE + HUDPOS_NUMBERSPACING + 25 : HUDPOS_GRENADE + HUDPOS_NUMBERSPACING, 823); + draw_text(gunstats, oldfashionedgunstats ? HUDPOS_GRENADE + HUDPOS_NUMBERSPACING + (((float)screen->w / (float)screen->h > 1.5f) ? 75 : 25) : HUDPOS_GRENADE + HUDPOS_NUMBERSPACING, 823); } bool grenades::selectable() { return weapon::selectable() && state != GST_INHAND && mag; }