From 916fd54468bc9f32e678fafb568a89a0f0a1c4cb Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 10 Sep 2018 03:30:22 +1000 Subject: [PATCH] Offset the portal aiming line by the weapon's movedir, so as to not interfere with dual wielding --- qcsrc/client/view.qc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/qcsrc/client/view.qc b/qcsrc/client/view.qc index a7fbe1368..e873f6453 100644 --- a/qcsrc/client/view.qc +++ b/qcsrc/client/view.qc @@ -427,6 +427,10 @@ void Porto_Draw(entity this) vector pos = view_origin; vector dir = view_forward; + makevectors(((autocvar_chase_active) ? warpzone_save_view_angles : view_angles)); + pos += v_right * -wepent.movedir.y + + v_up * wepent.movedir.z; + if (wepent.angles_held_status) { makevectors(wepent.angles_held); -- 2.39.2