Skip to content
Snippets Groups Projects

Duke3D: Only attempt to switch subweapon if we actually have the weapon

Merged Dino Bollinger requested to merge dibollinger/eduke32:gotwep11_bug into master

This fixes a bug in World Tour where trying to switch to the flamethrower while the current weapon is the freezer, and you have flamethrower ammo but not the actual weapon itself, then this instead locks the weapon key, preventing you from switching back to the freezer from other weapons.

This bug also affected the Shrinker, but only if CON code changes the 'gotweapon 11' value to 0 after the player obtains the weapon.

(Note: The WT bug actually exists in the binary released on Steam)

Edited by Dino Bollinger

Merge request reports

Merged by Richard GobeilleRichard Gobeille 3 years ago (Dec 10, 2021 7:50pm UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading