From 759f6dd96050e1cc41b9ecbbab7488e2717cd590 Mon Sep 17 00:00:00 2001 From: Thorsten Otto Date: Fri, 29 Mar 2024 03:29:35 +0100 Subject: [PATCH] Remove accidently duplicated call to SwapCommHeaderType This slipped in from commit https://github.com/TheAssemblyArmada/Vanilla-Conquer/commit/8688c7a9bcf101fd5675312144461179a619eec0 --- common/connect.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/connect.cpp b/common/connect.cpp index 191336b3..3a3f5c46 100644 --- a/common/connect.cpp +++ b/common/connect.cpp @@ -227,8 +227,6 @@ int ConnectionClass::Send_Packet(void* buf, int buflen, int ack_req) SwapCommHeaderType((CommHeaderType*)PacketBuf); - SwapCommHeaderType((CommHeaderType*)PacketBuf); - /*------------------------------------------------------------------------ Now build the packet ------------------------------------------------------------------------*/