]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
OK weapons: Fixed respawn after death with super weapons.
authorLyberta <lyberta@lyberta.net>
Sun, 11 Feb 2018 04:20:31 +0000 (07:20 +0300)
committerLyberta <lyberta@lyberta.net>
Sun, 11 Feb 2018 04:20:31 +0000 (07:20 +0300)
qcsrc/common/mutators/mutator/overkill/sv_overkill.qc

index a12d6794fdac8b881d085382b2315d18549c1147..0da7afceb9806bae3c810aa2578c94bbf1e5b5d7 100644 (file)
@@ -168,9 +168,9 @@ MUTATOR_HOOKFUNCTION(ok, PlayerWeaponSelect)
                {
                        Weapon newwep = player.ok_lastwep[slot];
                        if(player.ok_lastwep[slot] == WEP_HMG)
-                               newwep = WEP_MACHINEGUN;
+                               newwep = WEP_OVERKILL_MACHINEGUN;
                        if(player.ok_lastwep[slot] == WEP_RPC)
-                               newwep = WEP_VORTEX;
+                               newwep = WEP_OVERKILL_NEX;
                        thiswep.m_switchweapon = newwep;
                        player.ok_lastwep[slot] = WEP_Null;
                }