]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/server/vore.qc
Don't account view offset when attempting to swallow players. Fixes macro bots being...
[voretournament/voretournament.git] / data / qcsrc / server / vore.qc
index f389d22d7b0cff77f6a7ba88c1e70f2c2bc6778d..790c000a3667a83bd0f5da0bfedea4aa02dcf54c 100644 (file)
@@ -18,7 +18,7 @@ entity Swallow_player_check()
        swallow_range = cvar("g_balance_vore_swallow_range");\r
        if(self.scale) // we can swallow from further or closer based on our size\r
                swallow_range *= self.scale;\r
-       vore_w_shotorg = self.origin + self.view_ofs;\r
+       vore_w_shotorg = self.origin;\r
        vore_w_shotdir = v_forward;\r
 \r
        WarpZone_traceline_antilag(self, vore_w_shotorg, vore_w_shotorg + vore_w_shotdir * swallow_range, FALSE, self, ANTILAG_LATENCY(self));\r