mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-27 07:05:38 +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)
|
||||
{
|
||||
if (pPlayer == pTarget)
|
||||
return GR_TEAMMATE;
|
||||
|
||||
#ifdef REGAMEDLL_ADD
|
||||
if (IsFreeForAll())
|
||||
{
|
||||
|
@ -3663,7 +3663,7 @@ void EXT_FUNC CBasePlayer::__API_HOOK(JoiningThink)()
|
||||
}
|
||||
|
||||
if (m_pIntroCamera && gpGlobals->time >= m_fIntroCamTime
|
||||
#ifdef REGAMEDLL_FIXES
|
||||
#ifdef REGAMEDLL_FIXES
|
||||
&& m_fIntroCamTime > 0.0 // update only if cameras are available
|
||||
#endif
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user