found what broke linked doors: I messed up "self" so that it pointed to the controlle...
authorMaik Merten <maikmerten@googlemail.com>
Sun, 21 Nov 2010 17:07:29 +0000 (18:07 +0100)
committerMaik Merten <maikmerten@googlemail.com>
Sun, 21 Nov 2010 17:07:29 +0000 (18:07 +0100)
qcsrc/server/g_subs.qc

index bcbf6336e66e7a1ca7266a43aeaf328ee9ae99c5..a401b60bdc84b935d8cf9dc6e7c0109861039111 100644 (file)
@@ -267,6 +267,7 @@ void SUB_CalcMove (vector tdest, float tspeed, void() func)
        // invoke controller
        self = controller;
        self.think();
+       self = self.owner;
 }
 
 void SUB_CalcMoveEnt (entity ent, vector tdest, float tspeed, void() func)