From: Mario Date: Sun, 6 Mar 2016 12:57:14 +0000 (+1000) Subject: Fix unecessary setting of self in sandbox X-Git-Tag: xonotic-v0.8.2~1150 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c07e75dc0803f1babb09a2421dac61423607647a;p=xonotic%2Fxonotic-data.pk3dir.git Fix unecessary setting of self in sandbox --- diff --git a/qcsrc/common/mutators/mutator/sandbox/sandbox.qc b/qcsrc/common/mutators/mutator/sandbox/sandbox.qc index 2dffb42f8..6391e1f87 100644 --- a/qcsrc/common/mutators/mutator/sandbox/sandbox.qc +++ b/qcsrc/common/mutators/mutator/sandbox/sandbox.qc @@ -213,7 +213,7 @@ entity sandbox_ObjectSpawn(float database) e.angles_y = self.v_angle.y; } - WITH(entity, self, e, CSQCMODEL_AUTOINIT(e)); + CSQCMODEL_AUTOINIT(e); object_count += 1; return e;