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:
parent
a0ad810033
commit
a688bc6b69
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user