Compression restructure

This commit is contained in:
krrios 2006-09-23 03:25:29 +00:00
parent 93f6301be8
commit ab636feb59
2 changed files with 85 additions and 60 deletions

View file

@ -3646,7 +3646,10 @@ namespace Server.Network
if ( compress )
{
Compression.Compress( m_CompiledBuffer, length, out m_CompiledBuffer, out length );
m_CompiledBuffer = Compression.Compress(
m_CompiledBuffer, 0, length,
ref length
);
if ( m_CompiledBuffer == null )
{