From 0746b988868011598f249942822d4a992746a0ee Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Fri, 25 Sep 2020 16:17:55 +1000 Subject: [PATCH] - RR: Don't draw weapon on screen when in 3rd person view. --- source/games/duke/src/hudweapon_r.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/games/duke/src/hudweapon_r.cpp b/source/games/duke/src/hudweapon_r.cpp index 9a89e0bbd..30fc5f02d 100644 --- a/source/games/duke/src/hudweapon_r.cpp +++ b/source/games/duke/src/hudweapon_r.cpp @@ -135,7 +135,7 @@ void displayweapon_r(int snum, double smoothratio) gs = sprite[p->i].shade; if(gs > 24) gs = 24; - if(p->newowner >= 0 || ud.camerasprite >= 0 || (sprite[p->i].pal != 1 && sprite[p->i].extra <= 0)) + if(p->newowner >= 0 || ud.camerasprite >= 0 || p->over_shoulder_on > 0 || (sprite[p->i].pal != 1 && sprite[p->i].extra <= 0)) return; int opos = p->oweapon_pos * p->oweapon_pos;