diff --git a/Src/Client/ServerSession.cpp b/Src/Client/ServerSession.cpp index ac00f28..94ac37d 100644 --- a/Src/Client/ServerSession.cpp +++ b/Src/Client/ServerSession.cpp @@ -527,8 +527,6 @@ coro<> ServerSession::rP_Content(Net::AsyncSocket &sock) { while(!NetInputPackets.push(packet)); - LOG.info() << "Приняты воксели чанка " << int(wcId) << " / " << pos.X << ":" << pos.Y << ":" << pos.Z << " Вокселей " << debugCubesCount; - co_return; } diff --git a/Src/Server/RemoteClient.cpp b/Src/Server/RemoteClient.cpp index a4e4b8d..59f82c5 100644 --- a/Src/Server/RemoteClient.cpp +++ b/Src/Server/RemoteClient.cpp @@ -122,8 +122,6 @@ void RemoteClient::prepareChunkUpdate_Voxels(WorldId_t worldId, Pos::GlobalChunk prevSet = std::move(nextSet); } - LOG.debug() << "Воксели чанка: " << worldId << " / " << chunkPos.X << ":" << chunkPos.Y << ":" << chunkPos.Z; - checkPacketBorder(voxels.size()*(2+6)+16); NextPacket << (uint8_t) ToClient::L1::Content @@ -165,7 +163,6 @@ void RemoteClient::prepareChunkRemove(WorldId_t worldId, Pos::GlobalChunk chunkP } } - LOG.debug() << "Чанк потерян: " << worldId << " / " << chunkPos.X << ":" << chunkPos.Y << ":" << chunkPos.Z; WorldId_c cwId = worldId ? ResRemap.Worlds.toClient(worldId) : worldId; checkPacketBorder(16); diff --git a/Src/TOSLib.hpp b/Src/TOSLib.hpp index 0fa7e9d..f2416aa 100644 --- a/Src/TOSLib.hpp +++ b/Src/TOSLib.hpp @@ -588,4 +588,4 @@ public: } -#define MAKE_ERROR(arg) throw std::runtime_error(static_cast(std::ostringstream() << arg).str()) +#define MAKE_ERROR(arg) throw std::runtime_error((std::ostringstream() << arg).str())