Skip to content

Commit

Permalink
Update player.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
dystopm committed Jul 14, 2023
1 parent c0b3776 commit d1111e7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions regamedll/dlls/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3651,16 +3651,22 @@ void EXT_FUNC CBasePlayer::__API_HOOK(JoiningThink)()
ResetMenu();
m_iJoiningState = SHOWTEAMSELECT;

#ifdef REGAMEDLL_FIXES
RemoveDefuser();
#else
MESSAGE_BEGIN(MSG_ONE, gmsgStatusIcon, nullptr, pev);
WRITE_BYTE(STATUSICON_HIDE);
WRITE_STRING("defuser");
MESSAGE_END();

m_bHasDefuser = false;
#endif
m_fLastMovement = gpGlobals->time;
m_bMissionBriefing = false;

#ifndef REGAMEDLL_FIXES
SendItemStatus();
#endif
break;
}
case READINGLTEXT:
Expand Down

0 comments on commit d1111e7

Please sign in to comment.