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.
Allow calling LocateWeapon() from status bar
Moderator: GZDoom Developers
-
- Posts: 4949
- Joined: Sun Nov 14, 2010 12:59 am
- 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
I am highly in favor of this, as it would allow my bug report to be closed as unnecessary.
-
- Posts: 4949
- Joined: Sun Nov 14, 2010 12:59 am
Re: Allow calling LocateWeapon() from status bar
This got added in 3.7.0. So it can be closed.