diff --git a/Extension/swgchooks.cpp b/Extension/swgchooks.cpp index 2091a36..1b4e4d3 100644 --- a/Extension/swgchooks.cpp +++ b/Extension/swgchooks.cpp @@ -39,7 +39,7 @@ SteamWorksGCHooks::SteamWorksGCHooks() this->uHooked = eHooking; this->pGCSendMsg = forwards->CreateForward("SteamWorks_GCSendMessage", ET_Event, 3, NULL, Param_Cell, Param_String, Param_Cell); this->pGCMsgAvail = forwards->CreateForward("SteamWorks_GCMsgAvailable", ET_Ignore, 1, NULL, Param_Cell); - this->pGCRetMsg = forwards->CreateForward("SteamWorks_GCRetreiveMessage", ET_Event, 5, NULL, Param_Cell, Param_Cell, Param_String, Param_Cell, Param_Cell); + this->pGCRetMsg = forwards->CreateForward("SteamWorks_GCRetrieveMessage", ET_Event, 5, NULL, Param_Cell, Param_Cell, Param_String, Param_Cell, Param_Cell); smutils->AddGameFrameHook(OurGCGameFrameHook); } diff --git a/Pawn/includes/SteamWorks.inc b/Pawn/includes/SteamWorks.inc index 69461d4..0d279ab 100644 --- a/Pawn/includes/SteamWorks.inc +++ b/Pawn/includes/SteamWorks.inc @@ -297,7 +297,7 @@ forward SteamWorks_OnClientGroupStatus(authid, groupid, bool:isMember, bool:isOf forward EGCResults:SteamWorks_GCSendMessage(unMsgType, const String:pubData[], cubData); forward SteamWorks_GCMsgAvailable(cubData); -forward EGCResults:SteamWorks_GCRetreiveMessage(punMsgType, const String:pubDest[], cubDest, pcubMsgSize); +forward EGCResults:SteamWorks_GCRetrieveMessage(punMsgType, const String:pubDest[], cubDest, pcubMsgSize); native EGCResults:SteamWorks_SendMessageToGC(unMsgType, const String:pubData[], cubData);