]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Use SOLID_NOT for attachments, which is safest
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 4 Dec 2011 17:24:38 +0000 (19:24 +0200)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 4 Dec 2011 17:24:38 +0000 (19:24 +0200)
qcsrc/server/mutators/sandbox.qc

index b720425020ac9bfaaeee358d6ca27a376496f7c2..555422cc714ab67b5c051b4d1c8d340c3c0694dd 100644 (file)
@@ -118,7 +118,7 @@ void sandbox_ObjectAttach_Set(entity e, entity parent, string s)
        e.old_solid = e.solid; // persist solidity
        e.old_movetype = e.movetype; // persist physics
        e.movetype = MOVETYPE_FOLLOW;
-       e.solid = SOLID_TRIGGER;
+       e.solid = SOLID_NOT;
        e.takedamage = DAMAGE_NO;
 
        setattachment(e, parent, s);