]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
func_pointparticles: add a spawnflags 4 = PVS culling
authorRudolf Polzer <divverent@alientrap.org>
Mon, 6 Sep 2010 04:36:48 +0000 (06:36 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Mon, 6 Sep 2010 04:36:48 +0000 (06:36 +0200)
qcsrc/server/g_triggers.qc

index c31352ed5dec0e3f517d30198211d143db2cdcba..c13fb91186aec2c7bc944716da70b35b0e0e2eed 100644 (file)
@@ -818,7 +818,7 @@ void spawnfunc_func_pointparticles()
        if(!self.cnt)
                self.cnt = particleeffectnum(self.mdl);
 
-       Net_LinkEntity(self, FALSE, 0, pointparticles_SendEntity);
+       Net_LinkEntity(self, (self.spawnflags & 4), 0, pointparticles_SendEntity);
 
        IFTARGETED
        {