1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Remove debug code

This commit is contained in:
Ivan Savenko 2024-05-17 13:08:41 +00:00
parent a0ad810033
commit a688bc6b69

View File

@ -73,7 +73,6 @@ void CConnection::sendPack(const CPack * pack)
boost::mutex::scoped_lock lock(writeMutex);
auto connectionPtr = networkConnection.lock();
serializer->savedStrings.clear();
if (!connectionPtr)
throw std::runtime_error("Attempt to send packet on a closed connection!");
@ -92,7 +91,6 @@ CPack * CConnection::retrievePack(const std::vector<std::byte> & data)
packReader->buffer = &data;
packReader->position = 0;
deserializer->loadedStrings.clear();
*deserializer & result;