nzp-team / nzportable

Call of Duty: Zombies demake, powered by various Quake sourceports. https://docs.nzp.gay/
390 stars 34 forks source link

Coop PaP Weapon Can Be Stolen #779

Closed Revnova closed 3 months ago

Revnova commented 3 months ago

Describe the bug when someone PaPs their gun. if their gun is still in the Pack-a-Punch machine. anyone is able to pick it up.

To Reproduce Steps to reproduce the behavior:

  1. Go to any map in Coop with Pack-a-Punch
  2. have someone get enough points to use PaP
  3. use PaP
  4. when the weapon is PaPed but still in the machine have another player try and pick it up
  5. see that they have it now

Expected behavior only the person who PaPed should be able to pick up their gun

Affected Platforms

Tested on FTEQW

MotoLegacy commented 3 months ago

https://github.com/nzp-team/quakec/commit/cbe69fc2699be4e72268dfd566d90997b9fa1e04