nukeykt / NBlood

Reverse-engineered ports of Build games using EDuke32 engine technology and development principles (NBlood/Rednukem/PCExhumed)
598 stars 74 forks source link

Blood: Fix shotgun bug with akimbo #803

Closed tmyqlfpir closed 4 months ago

tmyqlfpir commented 4 months ago

This PR fixes this bug reported here. https://github.com/nukeykt/NBlood/issues/199

When a player drops below 4 shells while the akimbo powerup is active, they'll be locked to a single shotgun regardless if they pick up more ammo. This fix will force a ammo check for the shotgun upon every reload, and will switch back to two shotguns if the akimbo powerup is still active.