Browse Source

Don't send monster data while warping

pull/5860/head
staphen 3 years ago committed by obligaron
parent
commit
d18c75bd05
  1. 3
      Source/sync.cpp

3
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);

Loading…
Cancel
Save