]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/w_nex.qc
Commonize even more code, now that its possible
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / w_nex.qc
index 66aea0563866d3e66cda44195223fd9d30427094..e6c2aaafe2092f8d250dbd201cbc827255b0f255 100644 (file)
@@ -268,11 +268,6 @@ float w_nex(float req)
                ammo_amount += self.weapon_load[WEP_NEX] >= autocvar_g_balance_nex_secondary_ammo;
                return ammo_amount;
        }
-       else if (req == WR_RESETPLAYER)
-       {
-               // all weapons must be fully loaded when we spawn
-               self.weapon_load[WEP_NEX] = autocvar_g_balance_nex_reload_ammo;
-       }
        else if (req == WR_RELOAD)
        {
                W_Nex_Reload();