]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix parameters in weaponentity_glowmod function inside nades code
authorLegendaryGuard <rootuser999@gmail.com>
Sun, 27 Nov 2022 20:31:48 +0000 (21:31 +0100)
committerLegendaryGuard <rootuser999@gmail.com>
Sun, 27 Nov 2022 20:31:48 +0000 (21:31 +0100)
qcsrc/common/mutators/mutator/nades/nades.qc

index 5cace0f2f6606facb4cc9e96c66ec82004344a32..4a949a1b05c15640489fc6ca8e72ae3b41f00ec5 100644 (file)
@@ -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);
 }