diff --git a/reapi/src/hook_callback.cpp b/reapi/src/hook_callback.cpp index 67fe1d1..95847d6 100644 --- a/reapi/src/hook_callback.cpp +++ b/reapi/src/hook_callback.cpp @@ -651,7 +651,7 @@ void CBasePlayer_SwitchTeam(IReGameHook_CBasePlayer_SwitchTeam *chain, CBasePlay chain->callNext(getPrivate(_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)