From: Mario Date: Mon, 6 Jun 2022 08:19:43 +0000 (+1000) Subject: Disable the bubbly particles that show while holding the Speed powerup, as the effect... X-Git-Tag: xonotic-v0.8.5~18^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=494f0764bd2d1c7cb551fb407a035bca87b28637;p=xonotic%2Fxonotic-data.pk3dir.git Disable the bubbly particles that show while holding the Speed powerup, as the effect is too subtle to notice while being a distraction in first person view, closes #2668 --- diff --git a/qcsrc/common/mutators/mutator/powerups/powerup/speed.qc b/qcsrc/common/mutators/mutator/powerups/powerup/speed.qc index 4a2fe2c89..069d832f6 100644 --- a/qcsrc/common/mutators/mutator/powerups/powerup/speed.qc +++ b/qcsrc/common/mutators/mutator/powerups/powerup/speed.qc @@ -11,7 +11,6 @@ METHOD(Speed, m_remove, void(StatusEffects this, entity actor, int removal_type) } if(wasactive) stopsound(actor, CH_TRIGGER_SINGLE); // get rid of the pickup sound - actor.effects &= ~EF_STARDUST; SUPER(Speed).m_remove(this, actor, removal_type); } METHOD(Speed, m_apply, void(StatusEffects this, entity actor, float eff_time, float eff_flags)) @@ -28,7 +27,6 @@ METHOD(Speed, m_apply, void(StatusEffects this, entity actor, float eff_time, fl METHOD(Speed, m_tick, void(StatusEffects this, entity actor)) { play_countdown(actor, StatusEffects_gettime(this, actor), SND_POWEROFF); - actor.effects |= EF_STARDUST; SUPER(Speed).m_tick(this, actor); } #endif