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 a12d679..0da7afc 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;
                }