2
0
mirror of https://github.com/rehlds/reapi.git synced 2025-01-14 23:58:08 +03:00

Fixed typo into hook CBasePlayer::SwitchTeam

This commit is contained in:
s1lentq 2022-11-18 20:48:47 +07:00
parent 4e23c6573b
commit 7d9bd65e4f

View File

@ -651,7 +651,7 @@ void CBasePlayer_SwitchTeam(IReGameHook_CBasePlayer_SwitchTeam *chain, CBasePlay
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)