From dff20921329c9cc2fb98b4e13ce3caebe1d5e7a7 Mon Sep 17 00:00:00 2001 From: TimePath Date: Wed, 3 Mar 2021 02:33:03 +0000 Subject: [PATCH] Revert "Effectinfo: temporary order fix" This reverts commit 7ad79253dd5e08e66c0b3bab415da69cd3c2a296. --- qcsrc/common/weapons/all.qh | 5 +---- weapons.cfg | 21 --------------------- weapons.cfg.sh | 2 -- xonotic-client.cfg | 2 -- 4 files changed, 1 insertion(+), 29 deletions(-) delete mode 100644 weapons.cfg delete mode 100755 weapons.cfg.sh diff --git a/qcsrc/common/weapons/all.qh b/qcsrc/common/weapons/all.qh index 479c0b6b39..a46b0f1c93 100644 --- a/qcsrc/common/weapons/all.qh +++ b/qcsrc/common/weapons/all.qh @@ -305,14 +305,11 @@ WepSet WEPSET_SUPERWEAPONS; #include "all.inc" -// TODO: remove after 0.8.2. Retains impulse number compatibility because 0.8.1 clients don't reload the weapons.cfg -#define WEP_HARDCODED_IMPULSES 20 - // TODO: invert after 0.8.2. Will require moving 'best weapon' impulses #define WEP_IMPULSE_BEGIN 230 #define WEP_IMPULSE_END bound(WEP_IMPULSE_BEGIN, WEP_IMPULSE_BEGIN + (REGISTRY_COUNT(Weapons) - 1) - 1, 253) -REGISTRY_SORT(Weapons, WEP_HARDCODED_IMPULSES + 1) +REGISTRY_SORT(Weapons, 1) REGISTRY_CHECK(Weapons) STATIC_INIT(register_weapons_done) diff --git a/weapons.cfg b/weapons.cfg deleted file mode 100644 index 760337d53a..0000000000 --- a/weapons.cfg +++ /dev/null @@ -1,21 +0,0 @@ -// TODO: remove after 0.8.2. Default impulse commands for 0.8.1 servers -alias weapon_blaster "impulse 230" -alias weapon_shotgun "impulse 231" -alias weapon_machinegun "impulse 232" -alias weapon_mortar "impulse 233" -alias weapon_minelayer "impulse 234" -alias weapon_electro "impulse 235" -alias weapon_crylink "impulse 236" -alias weapon_vortex "impulse 237" -alias weapon_hagar "impulse 238" -alias weapon_devastator "impulse 239" -alias weapon_porto "impulse 240" -alias weapon_vaporizer "impulse 241" -alias weapon_hook "impulse 242" -alias weapon_hlac "impulse 243" -alias weapon_tuba "impulse 244" -alias weapon_rifle "impulse 245" -alias weapon_fireball "impulse 246" -alias weapon_seeker "impulse 247" -alias weapon_shockwave "impulse 248" -alias weapon_arc "impulse 249" diff --git a/weapons.cfg.sh b/weapons.cfg.sh deleted file mode 100755 index f02d43cf10..0000000000 --- a/weapons.cfg.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -