deleted unused code
This commit is contained in:
parent
bb799fe886
commit
34aea341db
1 changed files with 1 additions and 1 deletions
|
@ -302,7 +302,7 @@ void weapon_prepareattack_do(entity actor, .entity weaponentity, bool secondary,
|
||||||
if (this == NULL) return;
|
if (this == NULL) return;
|
||||||
this.state = WS_INUSE;
|
this.state = WS_INUSE;
|
||||||
|
|
||||||
if(StatusEffects_active(STATUSEFFECT_SpawnShield, actor) && !autocvar_g_weapons_spawnshield_forbid_firing) // given this is performed often, perform a lighter check first
|
if(StatusEffects_active(STATUSEFFECT_SpawnShield, actor) // given this is performed often, perform a lighter check first
|
||||||
StatusEffects_remove(STATUSEFFECT_SpawnShield, actor, STATUSEFFECT_REMOVE_CLEAR); // kill spawn shield when you fire
|
StatusEffects_remove(STATUSEFFECT_SpawnShield, actor, STATUSEFFECT_REMOVE_CLEAR); // kill spawn shield when you fire
|
||||||
|
|
||||||
// if the weapon hasn't been firing continuously, reset the timer
|
// if the weapon hasn't been firing continuously, reset the timer
|
||||||
|
|
Loading…
Reference in a new issue