Fix hagar loading and switching weapons
authorMario <mario@smbclan.net>
Fri, 4 Nov 2016 13:54:47 +0000 (23:54 +1000)
committerMario <mario@smbclan.net>
Fri, 4 Nov 2016 13:54:47 +0000 (23:54 +1000)
qcsrc/common/weapons/weapon/hagar.qc

index d533f19..684ee75 100644 (file)
@@ -313,7 +313,7 @@ void W_Hagar_Attack2_Load(Weapon thiswep, entity actor, .entity weaponentity)
 {
        // loadable hagar secondary attack, must always run each frame
 
-       if(time < game_starttime || PS(actor).m_switchweapon != WEP_HAGAR)
+       if(time < game_starttime)
                return;
 
        bool loaded = actor.hagar_load >= WEP_CVAR_SEC(hagar, load_max);