diff --git a/Source/Network/Packets/PartyJoinPacket.h b/Source/Network/Packets/PartyJoinPacket.h index ebce2fa12..330991bde 100644 --- a/Source/Network/Packets/PartyJoinPacket.h +++ b/Source/Network/Packets/PartyJoinPacket.h @@ -15,7 +15,7 @@ class PacketLengths; void SendPartyJoin(CConnection& connection, const PacketLengths& lengths, const std::uint32_t* accountId, const std::uint32_t* characterId); void SendPartyJoinDecision(CConnection& connection, const PacketLengths& lengths, std::uint32_t characterId, bool accepted, const std::uint32_t* accountId); -void ReceivePartyJoinRequest(const void* packet); +void __stdcall ReceivePartyJoinRequest(const void* packet); void SendPartyInvitationDecision( CConnection& connection, const PacketLengths& lengths, WindowManagerWindows& windows, std::string& pendingName, std::uint32_t identity, bool accepted ); diff --git a/Source/Network/Packets/PartyJoinRequest.cpp b/Source/Network/Packets/PartyJoinRequest.cpp index 65a60fe18..ac471a52b 100644 --- a/Source/Network/Packets/PartyJoinRequest.cpp +++ b/Source/Network/Packets/PartyJoinRequest.cpp @@ -5,7 +5,7 @@ // OFFSET: 0x00D3BCE0 // FUNCTION: fn_21789 -void ReceivePartyJoinRequest(const void* packet) { +void __stdcall ReceivePartyJoinRequest(const void* packet) { const auto* bytes = static_cast(packet); char name[25]; std::strncpy(name, reinterpret_cast(bytes + 10), 24);