Skip to content

Commit

Permalink
fix respawn protection icon hiding (#695)
Browse files Browse the repository at this point in the history
Co-authored-by: Sergey Shorokhov <[email protected]>
  • Loading branch information
aleeperezz16 and SergeyShorokhov authored Mar 13, 2022
1 parent 972e14a commit f050be7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion regamedll/dlls/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10225,7 +10225,7 @@ void EXT_FUNC CBasePlayer::__API_HOOK(SetSpawnProtection)(float flProtectionTime
pev->rendermode = kRenderTransAdd;
pev->renderamt = 100.0f;

MESSAGE_BEGIN(MSG_ONE_UNRELIABLE, gmsgStatusIcon, nullptr, pev);
MESSAGE_BEGIN(MSG_ONE, gmsgStatusIcon, nullptr, pev);
WRITE_BYTE(STATUSICON_FLASH);
WRITE_STRING("suithelmet_full");
WRITE_BYTE(0);
Expand Down

0 comments on commit f050be7

Please sign in to comment.