From d53539c80a3cbb0627c300846b7216c4d319c661 Mon Sep 17 00:00:00 2001 From: TimePath Date: Sun, 29 Nov 2015 21:25:08 +1100 Subject: [PATCH] Viewmodels: attempt to smooth out teleporting --- qcsrc/client/view.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2