mirror of
https://github.com/rehlds/reapi.git
synced 2025-01-15 08:08:08 +03:00
Fixed typo into hook CBasePlayer::SwitchTeam
This commit is contained in:
parent
4e23c6573b
commit
7d9bd65e4f
@ -651,7 +651,7 @@ void CBasePlayer_SwitchTeam(IReGameHook_CBasePlayer_SwitchTeam *chain, CBasePlay
|
|||||||
chain->callNext(getPrivate<CBasePlayer>(_pthis));
|
chain->callNext(getPrivate<CBasePlayer>(_pthis));
|
||||||
};
|
};
|
||||||
|
|
||||||
callVoidForward(RG_CBasePlayer_CanSwitchTeam, original, indexOfEdict(pthis->pev));
|
callVoidForward(RG_CBasePlayer_SwitchTeam, original, indexOfEdict(pthis->pev));
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CBasePlayer_CanSwitchTeam(IReGameHook_CBasePlayer_CanSwitchTeam *chain, CBasePlayer *pthis, TeamName teamToSwap)
|
bool CBasePlayer_CanSwitchTeam(IReGameHook_CBasePlayer_CanSwitchTeam *chain, CBasePlayer *pthis, TeamName teamToSwap)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user