mirror of
https://github.com/SWG-Source/src.git
synced 2026-10-17 09:03:06 -04:00
more cleanups
This commit is contained in:
@@ -564,10 +564,7 @@ dataReplyMessage::dataReplyMessage(const unsigned short command,
|
||||
monMessage(command, sequence, size)
|
||||
{
|
||||
data = new unsigned char[newDataLen];
|
||||
if (data)
|
||||
memcpy(data, newData, newDataLen);
|
||||
else
|
||||
data = NULL;
|
||||
memcpy(data, newData, newDataLen);
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user