Skip to content

Commit

Permalink
fix spec skin on ddnet server
Browse files Browse the repository at this point in the history
  • Loading branch information
sjrc6 committed Mar 31, 2022
1 parent 0c50df3 commit 22f9a01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/client/components/players.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ void CPlayers::OnRender()
Pos = m_aClient.m_SpecChar;

bool spec = false;
spec = m_aClient.m_Team == TEAM_SPECTATORS && !(m_pClient->IsOtherTeam(ClientID));
spec = (m_aClient.m_Team == TEAM_SPECTATORS || m_aClient.m_SpecCharPresent) && !(m_pClient->IsOtherTeam(ClientID));

if(spec)
RenderTools()->RenderTee(CAnimState::GetIdle(), &m_RenderInfoSpec, EMOTE_BLINK, vec2(1, 0), Pos);
Expand Down

0 comments on commit 22f9a01

Please sign in to comment.