From 3202d6d99c720be990620e8b211a9c8c388d1ce7 Mon Sep 17 00:00:00 2001 From: voed Date: Tue, 6 Aug 2019 00:30:55 +0300 Subject: [PATCH] Fix VIP mechanic (#396) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix #355 ¯\\_(ツ)_/¯ --- regamedll/dlls/multiplay_gamerules.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/regamedll/dlls/multiplay_gamerules.cpp b/regamedll/dlls/multiplay_gamerules.cpp index 0ae43dc4..c6a965dc 100644 --- a/regamedll/dlls/multiplay_gamerules.cpp +++ b/regamedll/dlls/multiplay_gamerules.cpp @@ -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())