]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix two bugs in the recent commits
authorRudolf Polzer <divverent@alientrap.org>
Mon, 14 Feb 2011 20:06:03 +0000 (21:06 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Mon, 14 Feb 2011 20:06:03 +0000 (21:06 +0100)
qcsrc/server/g_triggers.qc
qcsrc/server/t_plats.qc

index e177cdec73673d89bf4c812aff5dfaad099c8da6..6c0921ba9b6ee7317f341dd2e09a623786a3c4d7 100644 (file)
@@ -1722,6 +1722,7 @@ void follow_init()
                        attach_sameorigin(dst, src, self.message);
                }
 
+               dst.solid = SOLID_NOT; // solid doesn't work with attachment
                remove(self);
        }
        else
index 0d682e419553ad4441268e6f57c8da7ce1fd83a7..f90c812d9bd0691ed332e4817bc2dd216c6338aa 100644 (file)
@@ -956,8 +956,6 @@ void door_use()
 {
        local entity oself;
 
-       print(sprintf("door_use: self=%s owner=%s fire\n", self.targetname, self.owner.targetname));
-
        //dprint("door_use (model: ");dprint(self.model);dprint(")\n");
        if (self.owner)
        {