]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
Prevent hidden weapons being revealed with waypoints and centreprints 1436/head
authorbones_was_here <bones_was_here@xonotic.au>
Tue, 14 Jan 2025 15:30:41 +0000 (01:30 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Tue, 14 Jan 2025 15:57:16 +0000 (01:57 +1000)
commitc4a9f599b788cc5cc7a19849fa3a39dd92d34795
tree64bbf15479d88ab5848f127999889284d5970598
parentc529a1ed619faa1c171cc7aa666a2faa866c0c8f
Prevent hidden weapons being revealed with waypoints and centreprints

Normally this issue isn't noticeable, but with
g_balance_blaster_weaponstart 0 the secret tubas were revealed by the
weapon_group_1 bind.

If all weapons in a group are HIDDEN, nothing is displayed when the
group bind is pressed.  This seems better than the alternatives:
- "AOL CD Thrower is not available"
- "@!#%'n Tuba is not available" even though it's in the secret room
- "No weapon in the group is available" but it's a lie
qcsrc/server/weapons/selection.qc