fix mp_kill_filled_spawn (#1011)

This commit is contained in:
Vaqtincha 2024-09-13 02:22:08 +05:00 committed by GitHub
parent dc16b12d79
commit 3cf66de905
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5374,11 +5374,6 @@ BOOL IsSpawnPointValid(CBaseEntity *pPlayer, CBaseEntity *pSpot)
if (!pSpot->IsTriggered(pPlayer))
return FALSE;
#ifdef REGAMEDLL_ADD
if (!kill_filled_spawn.value)
return TRUE;
#endif
CBaseEntity *pEntity = nullptr;
while ((pEntity = UTIL_FindEntityInSphere(pEntity, pSpot->pev->origin, MAX_PLAYER_USE_RADIUS)))
{