From f5e23d5fc6ec89327b78422dcd418ba8616a1f5a Mon Sep 17 00:00:00 2001 From: Koncord Date: Mon, 4 Sep 2017 04:03:02 +0800 Subject: [PATCH] [General] Empty strings should be sent too --- components/openmw-mp/Packets/BasePacket.hpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/components/openmw-mp/Packets/BasePacket.hpp b/components/openmw-mp/Packets/BasePacket.hpp index e02d9ed02..03b912366 100644 --- a/components/openmw-mp/Packets/BasePacket.hpp +++ b/components/openmw-mp/Packets/BasePacket.hpp @@ -81,10 +81,7 @@ namespace mwmp if (write) { if (compress) - { - if (!str.empty()) - RakNet::RakString::SerializeCompressed(str.c_str(), bs); - } + RakNet::RakString::SerializeCompressed(str.c_str(), bs); else { RakNet::RakString rstr;