mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-29 02:10:36 +00:00
- RR: Don't draw weapon on screen when in 3rd person view.
This commit is contained in:
parent
9c0667a7ce
commit
0746b98886
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ void displayweapon_r(int snum, double smoothratio)
|
||||||
gs = sprite[p->i].shade;
|
gs = sprite[p->i].shade;
|
||||||
if(gs > 24) gs = 24;
|
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;
|
return;
|
||||||
|
|
||||||
int opos = p->oweapon_pos * p->oweapon_pos;
|
int opos = p->oweapon_pos * p->oweapon_pos;
|
||||||
|
|
Loading…
Reference in a new issue