]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
Use the weapon entity as a parameter to ATTACK_FINISHED instead of the slot number...
authorMario <mario@smbclan.net>
Mon, 15 Oct 2018 14:50:58 +0000 (00:50 +1000)
committerMario <mario@smbclan.net>
Mon, 15 Oct 2018 14:50:58 +0000 (00:50 +1000)
commit2e0ea8a4df1c5170b228f7a4ea425d8c4ef5fa8b
treed949399c6dab05faa6e7c7710973ee9b558e6389
parentce2607cc7491e18b3229e1e24dc2929c894fb2bc
Use the weapon entity as a parameter to ATTACK_FINISHED instead of the slot number, fixes a potential issue when dual wielding different weapons and reduces code redundancy
14 files changed:
qcsrc/common/gamemodes/gamemode/assault/sv_assault.qh
qcsrc/common/mutators/mutator/overkill/okhmg.qc
qcsrc/common/mutators/mutator/overkill/okmachinegun.qc
qcsrc/common/weapons/weapon/arc.qc
qcsrc/common/weapons/weapon/devastator.qc
qcsrc/common/weapons/weapon/hagar.qc
qcsrc/common/weapons/weapon/hlac.qc
qcsrc/common/weapons/weapon/machinegun.qc
qcsrc/common/weapons/weapon/minelayer.qc
qcsrc/common/weapons/weapon/rifle.qc
qcsrc/server/bot/default/havocbot/havocbot.qc
qcsrc/server/bot/default/scripting.qc
qcsrc/server/defs.qh
qcsrc/server/weapons/weaponsystem.qc