Core/PacketIO: Fixed object update failures

Closes #8105
This commit is contained in:
Shauren committed 2013-08-10 13:44:08 +02:00
1 parent 2c6f5e1b61
commit 0e75857702
11 files changed
+66 -35

No files matched your search

-3
View File
@@ -142,10 +142,7 @@ WorldSession::WorldSession(uint32 id, WorldSocket* sock, AccountTypes sec, uint8
_compressionStream->next_in = NULL;
int32 z_res = deflateInit(_compressionStream, sWorld->getIntConfig(CONFIG_COMPRESSION));
if (z_res != Z_OK)
{
TC_LOG_ERROR(LOG_FILTER_NETWORKIO, "Can't initialize packet compression (zlib: deflateInit) Error code: %i (%s)", z_res, zError(z_res));
return;
}
}
/// WorldSession destructor