]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Use realowner instead of owner. This seems to not break the collisions
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 24 Oct 2011 20:09:19 +0000 (23:09 +0300)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 24 Oct 2011 20:09:19 +0000 (23:09 +0300)
qcsrc/server/mutators/sandbox.qc

index 747494d42ef6d8d540882ada7e3c26d60b99062f..74de52b81c4b5e6b3b8cd8e8370c21d5205593ba 100644 (file)
@@ -35,7 +35,7 @@ MUTATOR_HOOKFUNCTION(sandbox_PlayerCommand)
                        entity e;
                        e = spawn();
 
-                       //e.owner = self; // for some reason, setting this causes collisions to break
+                       e.realowner = self;
                        e.classname = "object";
                        e.takedamage = DAMAGE_NO;