FWGS / hlsdk-portable

Portable Half-Life SDK. GoldSource and Xash3D. Crossplatform.
https://xash.su
Other
273 stars 126 forks source link

Reset ammo history slot on HUD reset #460

Closed FreeSlave closed 3 months ago

FreeSlave commented 4 months ago

If you get weapons/ammo, restart the game and get weapons/ammo again, the icons will appear higher on the screen even though there's enough space for them to appear at the bottom.

It's because the history slot index is not getting reset.