From d18c75bd05f9e89af8ee54198f8de95bd9065463 Mon Sep 17 00:00:00 2001 From: staphen Date: Sat, 4 Mar 2023 01:22:47 -0500 Subject: [PATCH] Don't send monster data while warping --- Source/sync.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/sync.cpp b/Source/sync.cpp index e22815f4b..55f232652 100644 --- a/Source/sync.cpp +++ b/Source/sync.cpp @@ -254,6 +254,9 @@ uint32_t sync_all_monsters(byte *pbBuf, uint32_t dwMaxLen) if (dwMaxLen < sizeof(TSyncHeader) + sizeof(TSyncMonster)) { return dwMaxLen; } + if (MyPlayer->_pLvlChanging) { + return dwMaxLen; + } auto *pHdr = (TSyncHeader *)pbBuf; pbBuf += sizeof(TSyncHeader);