]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
don't cull the accuracy entity
authorRudolf Polzer <divVerent@xonotic.org>
Mon, 22 Nov 2010 15:41:00 +0000 (16:41 +0100)
committerRudolf Polzer <divVerent@xonotic.org>
Mon, 22 Nov 2010 15:41:00 +0000 (16:41 +0100)
qcsrc/server/accuracy.qc

index 30f9e18d2682de503504d566d76523dcb4074709..db5dc6cc5130ac7c17dca8a7993a83a0a3775293 100644 (file)
@@ -42,8 +42,8 @@ void accuracy_init(entity e)
        e.accuracy = spawn();
        e.accuracy.owner = e;
        e.accuracy.classname = "accuracy";
-       e.accuracy.SendEntity = accuracy_send;
        e.accuracy.drawonlytoclient = e;
+       Net_LinkEntity(e.accuracy, FALSE, 0, accuracy_send);
 }
 
 void accuracy_free(entity e)