Fix VIP mechanic (#396)

Fix #355 
¯\\_(ツ)_/¯
This commit is contained in:
voed 2019-08-06 00:30:55 +03:00 committed by Dmitry Novikov
parent 010438918c
commit 3202d6d99c

View File

@ -2220,7 +2220,7 @@ void CHalfLifeMultiplay::PickNextVIP()
while ((pEntity = UTIL_FindEntityByClassname(pEntity, "player")))
{
if (!FNullEnt(pEntity->edict()))
if (FNullEnt(pEntity->edict()))
break;
if (pEntity->IsDormant())
@ -2258,7 +2258,7 @@ void CHalfLifeMultiplay::PickNextVIP()
while ((pEntity = UTIL_FindEntityByClassname(pEntity, "player")))
{
if (!FNullEnt(pEntity->edict()))
if (FNullEnt(pEntity->edict()))
break;
if (pEntity->IsDormant())