From b682a2f97a6848253f2cc8b68188d594fd6575d7 Mon Sep 17 00:00:00 2001 From: Trevius Date: Sat, 20 Dec 2014 17:34:47 -0600 Subject: [PATCH] Potential fix for RoF2 random crashes during zoning. --- common/patches/rof2.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/patches/rof2.cpp b/common/patches/rof2.cpp index d49f00253..a750d2abb 100644 --- a/common/patches/rof2.cpp +++ b/common/patches/rof2.cpp @@ -2551,6 +2551,8 @@ namespace RoF2 outapp->WriteUInt32(0); // Unknown outapp->WriteUInt32(0); // Unknown + // Think we need 1 byte of padding at the end + outapp->WriteUInt8(0); // Unknown _log(NET__STRUCTS, "Player Profile Packet is %i bytes", outapp->GetWritePosition());