X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fweapons%2Fweapon%2Fhagar.qc;h=684ee75d377540a15de2911269dbf6ccf078d982;hb=5352a65c86ae185b0ff5c412d1eb1208912c17ab;hp=d533f19098b7ae6f71efd6ae595f3fd4b6b14635;hpb=544daa665f16f82cadc26e7d42241987fa4f7f00;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/weapons/weapon/hagar.qc b/qcsrc/common/weapons/weapon/hagar.qc index d533f1909..684ee75d3 100644 --- a/qcsrc/common/weapons/weapon/hagar.qc +++ b/qcsrc/common/weapons/weapon/hagar.qc @@ -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);