mirror of
https://github.com/ENSL/NS.git
synced 2024-11-10 07:11:38 +00:00
fix server crash on HLTV join
This commit is contained in:
parent
6ee8db7f9e
commit
98b815da57
1 changed files with 4 additions and 1 deletions
|
@ -1544,7 +1544,10 @@ union float_converter
|
|||
}
|
||||
void NetMsg_PlayHUDNotification_Research(entvars_t* const pev, const int flags, const ResearchInfoListType& researching)
|
||||
{
|
||||
MESSAGE_BEGIN(MSG_ONE, g_msgPlayHUDNotification, NULL, pev);
|
||||
if (pev == NULL)
|
||||
MESSAGE_BEGIN( MSG_SPEC, g_msgPlayHUDNotification);
|
||||
else
|
||||
MESSAGE_BEGIN(MSG_ONE, g_msgPlayHUDNotification, NULL, pev);
|
||||
WRITE_BYTE(flags);
|
||||
if (flags == 2)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue