]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
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 d533f19098b7ae6f71efd6ae595f3fd4b6b14635..684ee75d377540a15de2911269dbf6ccf078d982 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);