From 7af5d26feb487e287005ca19ba050459c92049fc Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Tue, 18 Aug 2020 20:58:58 +1000 Subject: [PATCH] - SW: Fix the Uzi's reload interpolation issues. --- source/sw/src/panel.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/sw/src/panel.cpp b/source/sw/src/panel.cpp index 01a983e00..e31b86939 100644 --- a/source/sw/src/panel.cpp +++ b/source/sw/src/panel.cpp @@ -1910,8 +1910,8 @@ pUziReload(PANEL_SPRITEp nclip) { PlaySound(DIGI_REPLACECLIP, nclip->PlayerP,v3df_follow|v3df_dontpan|v3df_doppler); - nclip->ox = nclip->x = gun->ox = gun->x - UZI_CLIP_XOFF; - nclip->ox = nclip->y = gun->oy = gun->y + UZI_CLIP_YOFF; + nclip->ox = nclip->x = gun->x - UZI_CLIP_XOFF; + nclip->ox = nclip->y = gun->y + UZI_CLIP_YOFF; nclip->vel = 680; nclip->ang = NORM_ANGLE(nclip->ang - 128 - 64); // go to retract phase @@ -1924,8 +1924,8 @@ pUziReload(PANEL_SPRITEp nclip) { PlaySound(DIGI_REPLACECLIP, nclip->PlayerP,v3df_follow|v3df_dontpan|v3df_doppler); - nclip->ox = nclip->x = gun->ox = gun->x + UZI_CLIP_XOFF; - nclip->ox = nclip->y = gun->oy = gun->y + UZI_CLIP_YOFF; + nclip->ox = nclip->x = gun->x + UZI_CLIP_XOFF; + nclip->ox = nclip->y = gun->y + UZI_CLIP_YOFF; nclip->vel = 680; nclip->ang = NORM_ANGLE(nclip->ang + 128 + 64); // go to retract phase