fix respawn protection icon hiding (#695)

Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
This commit is contained in:
Alejo 2022-03-13 11:35:42 -03:00 committed by GitHub
parent 972e14a527
commit f050be77db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10225,7 +10225,7 @@ void EXT_FUNC CBasePlayer::__API_HOOK(SetSpawnProtection)(float flProtectionTime
pev->rendermode = kRenderTransAdd; pev->rendermode = kRenderTransAdd;
pev->renderamt = 100.0f; pev->renderamt = 100.0f;
MESSAGE_BEGIN(MSG_ONE_UNRELIABLE, gmsgStatusIcon, nullptr, pev); MESSAGE_BEGIN(MSG_ONE, gmsgStatusIcon, nullptr, pev);
WRITE_BYTE(STATUSICON_FLASH); WRITE_BYTE(STATUSICON_FLASH);
WRITE_STRING("suithelmet_full"); WRITE_STRING("suithelmet_full");
WRITE_BYTE(0); WRITE_BYTE(0);