From 1e805e4b7013029899636c0120b5f9f7322422a5 Mon Sep 17 00:00:00 2001 From: LegendaryGuard Date: Sun, 27 Nov 2022 21:31:48 +0100 Subject: [PATCH] Fix parameters in weaponentity_glowmod function inside nades code --- qcsrc/common/mutators/mutator/nades/nades.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/common/mutators/mutator/nades/nades.qc b/qcsrc/common/mutators/mutator/nades/nades.qc index 5cace0f2f..4a949a1b0 100644 --- a/qcsrc/common/mutators/mutator/nades/nades.qc +++ b/qcsrc/common/mutators/mutator/nades/nades.qc @@ -667,7 +667,7 @@ void nade_tandem_randomweapon(entity e, vector org) setorigin(e, org); e.velocity = randomvec() * 150 + '0 0 325'; e.spawnfunc_checked = true; - e.glowmod = weaponentity_glowmod(RandomSelection_chosen_ent, e, 0, NULL); + e.glowmod = weaponentity_glowmod(RandomSelection_chosen_ent, 0, e); weapon_defaultspawnfunc(e, RandomSelection_chosen_ent); } -- 2.39.2