]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Disable the bubbly particles that show while holding the Speed powerup, as the effect...
authorMario <mario.mario@y7mail.com>
Mon, 6 Jun 2022 08:19:43 +0000 (18:19 +1000)
committerMario <mario.mario@y7mail.com>
Mon, 6 Jun 2022 08:19:43 +0000 (18:19 +1000)
qcsrc/common/mutators/mutator/powerups/powerup/speed.qc

index 4a2fe2c890745403858eaa5096c5be304ace1ad3..069d832f60b1c8db4b3e87c879aa8b34578dc115 100644 (file)
@@ -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