-\r
-void Net_ReadNexgunBeamParticle()\r
-{\r
- vector shotorg, endpos;\r
- shotorg_x = ReadCoord(); shotorg_y = ReadCoord(); shotorg_z = ReadCoord();\r
- endpos_x = ReadCoord(); endpos_y = ReadCoord(); endpos_z = ReadCoord();\r
- \r
- pointparticles(particleeffectnum("nex_muzzleflash"), shotorg, normalize(endpos - shotorg) * 1000, 1);\r
- \r
- //draw either the old v2.3 beam or the new beam\r
- if (cvar("cl_particles_oldnexbeam") && (getstati(STAT_ALLOW_OLDNEXBEAM) || isdemo()))\r
- WarpZone_TrailParticles(world, particleeffectnum("TE_TEI_G3"), shotorg, endpos);\r
- else\r
- WarpZone_TrailParticles(world, particleeffectnum("nex_beam"), shotorg, endpos);\r
-}\r