]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
Implement weapon availability warnings for custom weapon groups
authorbones_was_here <bones_was_here@xonotic.au>
Tue, 14 Jan 2025 12:21:12 +0000 (22:21 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Tue, 14 Jan 2025 15:57:16 +0000 (01:57 +1000)
commitc529a1ed619faa1c171cc7aa666a2faa866c0c8f
treed39ab865034b0817ba5de0fa9cf527c3532975fe
parent39c1071d8e411a4cefece37442599d7469f0133d
Implement weapon availability warnings for custom weapon groups

Fixes "AOL CD Thrower is not available" (see previous commit and #2380)
when using a cl_weaponpriorityN custom weapon group and none of its
weapons are on the map.

Refactors and somewhat documents the `have_other` checking for
compatibility, performance and clarity.
qcsrc/server/weapons/selection.qc