]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
Fix #2201 "ForbidWeaponUse mutator hook can leave the player holding a weapon they... 644/head
authorterencehill <piuntn@gmail.com>
Wed, 10 Apr 2019 14:54:55 +0000 (16:54 +0200)
committerterencehill <piuntn@gmail.com>
Wed, 10 Apr 2019 14:54:55 +0000 (16:54 +0200)
commit0ca59fa70f5e81336415e1661d879aa91ff03db0
tree510796f8df2262e765b8f45e758dd7abc872448b
parent6530e3b3cbd2ab6f0026bd0131bce4ed8f702b82
Fix #2201 "ForbidWeaponUse mutator hook can leave the player holding a weapon they no longer possess". ForbidWeaponUse now forbids weapon use but allows switching to another weapon, while the new mutator hook LockWeapon applies both restrictions
18 files changed:
qcsrc/common/mutators/mutator/campcheck/sv_campcheck.qc
qcsrc/common/mutators/mutator/nades/nades.qc
qcsrc/common/mutators/mutator/overkill/sv_overkill.qc
qcsrc/common/mutators/mutator/spawn_near_teammate/sv_spawn_near_teammate.qc
qcsrc/common/vehicles/sv_vehicles.qc
qcsrc/common/vehicles/vehicle/bumblebee.qc
qcsrc/common/vehicles/vehicle/racer.qc
qcsrc/common/vehicles/vehicle/raptor.qc
qcsrc/common/vehicles/vehicle/spiderbot.qc
qcsrc/common/vehicles/vehicle/spiderbot_weapons.qc
qcsrc/common/weapons/weapon/hagar.qc
qcsrc/common/weapons/weapon/vaporizer.qc
qcsrc/server/g_hook.qc
qcsrc/server/impulse.qc
qcsrc/server/mutators/events.qh
qcsrc/server/weapons/selection.qc
qcsrc/server/weapons/weaponsystem.qc
qcsrc/server/weapons/weaponsystem.qh