|
|
@ -31,7 +31,7 @@ bool ObjectProcessor::Process(RakNet::Packet &packet, BaseObjectList &objectList
|
|
|
|
if (!processor.second->avoidReading)
|
|
|
|
if (!processor.second->avoidReading)
|
|
|
|
myPacket->Read();
|
|
|
|
myPacket->Read();
|
|
|
|
|
|
|
|
|
|
|
|
if (objectList.isValid) // -V547
|
|
|
|
if (objectList.isValid) // -V547 (PVS Studio false-positive warning)
|
|
|
|
processor.second->Do(*myPacket, *player, objectList);
|
|
|
|
processor.second->Do(*myPacket, *player, objectList);
|
|
|
|
else
|
|
|
|
else
|
|
|
|
LOG_MESSAGE_SIMPLE(Log::LOG_ERROR, "Received %s that failed integrity check and was ignored!", processor.second->strPacketID.c_str());
|
|
|
|
LOG_MESSAGE_SIMPLE(Log::LOG_ERROR, "Received %s that failed integrity check and was ignored!", processor.second->strPacketID.c_str());
|
|
|
|