mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-28 15:45:41 +03:00
PlayerRelationship: GR_TEAMMATE on checking itself
This commit is contained in:
parent
15df1a9cf2
commit
e636cbc8f5
@ -4341,6 +4341,9 @@ edict_t *EXT_FUNC CHalfLifeMultiplay::__API_HOOK(GetPlayerSpawnSpot)(CBasePlayer
|
|||||||
|
|
||||||
int CHalfLifeMultiplay::PlayerRelationship(CBasePlayer *pPlayer, CBaseEntity *pTarget)
|
int CHalfLifeMultiplay::PlayerRelationship(CBasePlayer *pPlayer, CBaseEntity *pTarget)
|
||||||
{
|
{
|
||||||
|
if (pPlayer == pTarget)
|
||||||
|
return GR_TEAMMATE;
|
||||||
|
|
||||||
#ifdef REGAMEDLL_ADD
|
#ifdef REGAMEDLL_ADD
|
||||||
if (IsFreeForAll())
|
if (IsFreeForAll())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user