mirror of
https://github.com/ENSL/NS.git
synced 2025-02-16 17:11:15 +00:00
fix welder name tag showing on alien players
This commit is contained in:
parent
62206c3bdb
commit
b443eeb5a1
1 changed files with 1 additions and 1 deletions
|
@ -5435,7 +5435,7 @@ bool AvHHud::GetEntityInfoString(int inEntityID, string& outEntityInfoString, bo
|
|||
// Do this client side so the extra chars don't need to be transmitted. Welder handled server side in UpdateStatusBar.
|
||||
if (theEntity->curstate.team == theTeam)
|
||||
{
|
||||
if (g_PlayerExtraInfo[theEntity->index].extra & WEAPON_WELDER)
|
||||
if (g_PlayerExtraInfo[theEntity->index].extra & WEAPON_WELDER && theEntity->curstate.iuser3 == AVH_USER3_MARINE_PLAYER)
|
||||
{
|
||||
if (CVAR_GET_FLOAT("hud_nameinfo") == 1)
|
||||
outEntityInfoString += " [Welder]";
|
||||
|
|
Loading…
Reference in a new issue