From: TimePath Date: Sun, 29 Nov 2015 10:25:08 +0000 (+1100) Subject: Viewmodels: attempt to smooth out teleporting X-Git-Tag: xonotic-v0.8.2~1601^2~10 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d53539c80a3cbb0627c300846b7216c4d319c661;p=xonotic%2Fxonotic-data.pk3dir.git Viewmodels: attempt to smooth out teleporting --- diff --git a/qcsrc/client/view.qc b/qcsrc/client/view.qc index 5497d2ab9..f7864f891 100644 --- a/qcsrc/client/view.qc +++ b/qcsrc/client/view.qc @@ -120,7 +120,7 @@ void viewmodel_animate(entity this) vector gunorg = '0 0 0', gunangles = '0 0 0'; static vector gunorg_prev = '0 0 0', gunangles_prev = '0 0 0'; - bool teleported = false; // TODO: detect + bool teleported = csqcplayer.csqcmodel_teleported; // 1. if we teleported, clear the frametime... the lowpass will recover the previous value then if (teleported)