From: LegendaryGuard Date: Sun, 27 Nov 2022 20:31:48 +0000 (+0100) Subject: Fix parameters in weaponentity_glowmod function inside nades code X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1e805e4b7013029899636c0120b5f9f7322422a5;p=xonotic%2Fxonotic-data.pk3dir.git Fix parameters in weaponentity_glowmod function inside nades code --- 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); }