]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/g_subs.qc
add a small offset to final destination to avoid player unstuck messages when doing...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / g_subs.qc
index fe7a7e29f0feb44bf5ccc49b98eae106b182f286..e3c2e1225bf18257ccc5a6f7ca869395a15775fe 100644 (file)
@@ -260,7 +260,7 @@ void SUB_CalcMove (vector tdest, float tspeed, void() func)
        controller.classname = "SUB_CalcMove_controller";
        controller.owner = self;
        controller.origin = self.origin; // starting point
-       controller.finaldest = tdest; // where do we want to end?
+       controller.finaldest = (tdest + '0 0 1'); // where do we want to end? Offset to overshoot a bit.
        controller.destvec = delta;
        controller.animstate_starttime = time;
        controller.animstate_endtime = time + traveltime;