]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/weapons/tracing.qc
Tidy up classnames
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / weapons / tracing.qc
index a36833a6dbbfa123e657614c0873abc5d270ac6e..4db498b4a0be5fafbca77a6e692e194f294ecd44 100644 (file)
@@ -294,7 +294,7 @@ void FireRailgunBullet (entity this, .entity weaponentity, vector start, vector
                vector beampos = start + dir * bound(0, (it.origin - start) * dir, length);
 
                if(!pseudoprojectile)
-                       pseudoprojectile = spawn(); // we need this so the sound uses the "entchannel4" volume
+                       pseudoprojectile = new(pseudoprojectile); // we need this so the sound uses the "entchannel4" volume
 
                msg_entity = it;
                // we want this to be very loud when close but fall off quickly -> using max base volume and high attenuation