]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
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 c3754513a4b7d64e0ec57cd9fe15fdf4acd46f1a..53202c6e6d9570c834a3d00c45b0e7eba5117636 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