]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix unecessary setting of self in sandbox
authorMario <mario@smbclan.net>
Sun, 6 Mar 2016 12:57:14 +0000 (22:57 +1000)
committerMario <mario@smbclan.net>
Sun, 6 Mar 2016 12:57:14 +0000 (22:57 +1000)
qcsrc/common/mutators/mutator/sandbox/sandbox.qc

index 2dffb42f89680e5382551472ae9691335a00d967..6391e1f8726b4f7ad17cf5d89d7007a65e0950da 100644 (file)
@@ -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;