From e3e9718db51fddad8e192d9348b4099e4f11202c Mon Sep 17 00:00:00 2001 From: wincent Date: Thu, 11 Aug 2022 16:40:17 +0200 Subject: [PATCH] Reverted local hardcoded NET_VERSION value. --- dNet/AuthPackets.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dNet/AuthPackets.cpp b/dNet/AuthPackets.cpp index c288d759..c2aca466 100644 --- a/dNet/AuthPackets.cpp +++ b/dNet/AuthPackets.cpp @@ -35,7 +35,7 @@ void AuthPackets::HandleHandshake(dServer* server, Packet* packet) { void AuthPackets::SendHandshake(dServer* server, const SystemAddress& sysAddr, const std::string& nextServerIP, uint16_t nextServerPort) { RakNet::BitStream bitStream; PacketUtils::WriteHeader(bitStream, SERVER, MSG_SERVER_VERSION_CONFIRM); - bitStream.Write(171023); + bitStream.Write(NET_VERSION); bitStream.Write(uint32_t(0x93)); if (nextServerPort == 1001) bitStream.Write(uint32_t(1)); //Conn: auth