PlayerRelationship: GR_TEAMMATE on checking itself

This commit is contained in:
s1lentq 2024-01-12 09:16:20 +07:00
parent 15df1a9cf2
commit e636cbc8f5
2 changed files with 4 additions and 1 deletions

View File

@ -4341,6 +4341,9 @@ edict_t *EXT_FUNC CHalfLifeMultiplay::__API_HOOK(GetPlayerSpawnSpot)(CBasePlayer
int CHalfLifeMultiplay::PlayerRelationship(CBasePlayer *pPlayer, CBaseEntity *pTarget)
{
if (pPlayer == pTarget)
return GR_TEAMMATE;
#ifdef REGAMEDLL_ADD
if (IsFreeForAll())
{