From ddc7eb54c3da2f671780c942b7e8634428eda5c5 Mon Sep 17 00:00:00 2001 From: Marco Hladik Date: Tue, 22 Feb 2022 12:01:55 -0800 Subject: [PATCH] Client: Fix explosion sprite rendermode. --- src/shared/fx_explosion.qc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/shared/fx_explosion.qc b/src/shared/fx_explosion.qc index 4a4900d..a583173 100755 --- a/src/shared/fx_explosion.qc +++ b/src/shared/fx_explosion.qc @@ -63,7 +63,9 @@ FX_Explosion(vector vecPos) Sound_Play(eExplosion, CHAN_WEAPON, "fx.explosion"); //eExplosion.think = FX_Explosion_Animate; - eExplosion.effects = EF_ADDITIVE; + eExplosion.SetRenderMode(RM_ADDITIVE); + eExplosion.SetRenderAmt(1.0f); + eExplosion.SetRenderColor(1,1,1); eExplosion.drawmask = MASK_ENGINE; eExplosion.maxframe = modelframecount(eExplosion.modelindex); eExplosion.loops = 0;