Client: Call Weapons_PreDraw() inside NSClientPlayer's predraw.

This commit is contained in:
Marco Cawthorne 2022-12-31 17:49:15 -08:00
parent 46eae742cb
commit 534b249ac4
Signed by: eukara
GPG Key ID: CE2032F0A2882A22
1 changed files with 2 additions and 0 deletions

View File

@ -219,6 +219,7 @@ NSClientPlayer::predraw(void)
/* draw a 3D voice blob over its head */
Voice_Draw3D(this);
Weapons_PreDraw(this, true);
/* force drawing us if it's our local player and we're meant to show */
if (entnum == player_localentnum)
@ -237,6 +238,7 @@ NSClientPlayer::predraw(void)
/* give mods a chance to de-render attachments */
UpdatePlayerAttachments(false);
Weapons_PreDraw(this, false);
/* this is here just to make sure our view hides us if it's the local player */
if (entnum == player_localentnum)