]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
allow two more remove calls, these are safe
authorRudolf Polzer <divverent@alientrap.org>
Wed, 24 Aug 2011 13:34:34 +0000 (15:34 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Wed, 24 Aug 2011 13:34:34 +0000 (15:34 +0200)
qcsrc/server/w_crylink.qc

index 6a77e98a882ccc2c1fb329db1b2b25b03e87fd13..ae3600de755bf6cfd296b9bf3f20f54406999630 100644 (file)
@@ -237,6 +237,7 @@ void W_Crylink_Touch (void)
                if(self == self.realowner.crylink_lastgroup)
                        self.realowner.crylink_lastgroup = world;
                W_Crylink_LinkExplode(self.queuenext, self);
+               self.classname = "spike_oktoremove";
                remove (self);
                return;
        }
@@ -277,6 +278,7 @@ void W_Crylink_Touch2 (void)
                if(self == self.realowner.crylink_lastgroup)
                        self.realowner.crylink_lastgroup = world;
                W_Crylink_LinkExplode(self.queuenext, self);
+               self.classname = "spike_oktoremove";
                remove (self);
                return;
        }