Allow calling LocateWeapon() from status bar

Moderator: GZDoom Developers

Post Reply
Blue Shadow
Posts: 4949
Joined: Sun Nov 14, 2010 12:59 am

Allow calling LocateWeapon() from status bar

Post by Blue Shadow »

I'm trying to draw the equipped weapon's slot number on the HUD, and LocateWeapon() is the function to use to get the slot. Unfortunately, it can't be called from the status bar code as things stand.

I also need it for some code to draw a list of ammunition.
User avatar
Ed the Bat
Posts: 3060
Joined: Thu May 03, 2012 1:18 pm
Graphics Processor: nVidia with Vulkan support
Location: Maryland, US
Contact:

Re: Allow calling LocateWeapon() from status bar

Post by Ed the Bat »

I am highly in favor of this, as it would allow my bug report to be closed as unnecessary.
Blue Shadow
Posts: 4949
Joined: Sun Nov 14, 2010 12:59 am

Re: Allow calling LocateWeapon() from status bar

Post by Blue Shadow »

This got added in 3.7.0. So it can be closed.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”