Properly position the swallow model based on view
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 10 Jul 2011 19:06:09 +0000 (22:06 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 10 Jul 2011 19:06:09 +0000 (22:06 +0300)
data/qcsrc/server/vore.qc

index c375451..53202c6 100644 (file)
@@ -205,9 +205,7 @@ void Vore_SwallowModel_Think()
        //self.angles_x = self.owner.angles_x;\r
        //self.view_ofs = self.owner.view_ofs;\r
 \r
-       makevectors(self.owner.angles);\r
-       traceline(self.owner.origin + self.owner.view_ofs, self.owner.origin + self.owner.view_ofs + v_forward * 500, TRUE, self);\r
-       self.view_ofs = '1 0 0' * vlen(trace_endpos - self.owner.origin);\r
+       self.view_ofs = '1 0 0' * 500;\r
 \r
        // if our swallow progress is gone, the swallow model must also go\r
        if(!self.owner.swallow_progress_prey)\r