X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fclient%2Fparticles.qc;h=b33b81a018ca982638304afd5edcc3e5adf753d3;hp=e9a02631f2e572c43c954b3a7c202201e1d0b316;hb=d7a834f0cfbf327e001d53f09c7ddfe2e2783955;hpb=411fb987cf22de8cd739ea2b8513ce1cecd6898e diff --git a/qcsrc/client/particles.qc b/qcsrc/client/particles.qc index e9a02631f2..b33b81a018 100644 --- a/qcsrc/client/particles.qc +++ b/qcsrc/client/particles.qc @@ -296,7 +296,7 @@ void Net_ReadNexgunBeamParticle() //draw either the old v2.3 beam or the new beam charge = sqrt(charge); // divide evenly among trail spacing and alpha particles_alphamin = particles_alphamax = charge; - if (cvar("cl_particles_oldnexbeam") && (getstati(STAT_ALLOW_OLDNEXBEAM) || isdemo())) + if (autocvar_cl_particles_oldnexbeam && (getstati(STAT_ALLOW_OLDNEXBEAM) || isdemo())) WarpZone_TrailParticles_WithMultiplier(world, particleeffectnum("TE_TEI_G3"), shotorg, endpos, charge, 1); else WarpZone_TrailParticles_WithMultiplier(world, particleeffectnum("nex_beam"), shotorg, endpos, charge, 1);