X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fcommon%2Fmutators%2Fmutator%2Foverkill%2Fsv_overkill.qc;h=20216f9283d1333115be8045b3a78c395f24b17e;hp=fab0b6ff969008269df0d6b595cf882ce5677ef9;hb=9e8ea75b9aacffc5cfa18c8852c4dd9ffdbd3192;hpb=ca930a6f9c9086eae6d7ef29c80bd3ae69b1d1a8 diff --git a/qcsrc/common/mutators/mutator/overkill/sv_overkill.qc b/qcsrc/common/mutators/mutator/overkill/sv_overkill.qc index fab0b6ff96..20216f9283 100644 --- a/qcsrc/common/mutators/mutator/overkill/sv_overkill.qc +++ b/qcsrc/common/mutators/mutator/overkill/sv_overkill.qc @@ -144,8 +144,6 @@ MUTATOR_HOOKFUNCTION(ok, PlayerPreThink) if(player.(weaponentity).m_weapon == WEP_Null && slot != 0) continue; - Weapon oldwep = player.(weaponentity).m_weapon; - player.(weaponentity).m_weapon = WEP_BLASTER; W_Blaster_Attack( player, weaponentity, @@ -160,7 +158,6 @@ MUTATOR_HOOKFUNCTION(ok, PlayerPreThink) WEP_CVAR_SEC(vaporizer, delay), WEP_CVAR_SEC(vaporizer, lifetime) ); - player.(weaponentity).m_weapon = oldwep; } }