Исправлен баг с пропаданием территории на клиенте

This commit is contained in:
2025-08-28 15:51:00 +06:00
parent 3b18037bb5
commit 8bf84f9138
4 changed files with 46 additions and 13 deletions

View File

@@ -561,7 +561,7 @@ void ServerSession::atFreeDrawTime(GlobalTime gTime, float dTime) {
for(auto &pair : changeOrAddList_removeList) {
// Если случится что чанк был изменён и удалён, то исключаем его обновления
for(Pos::GlobalRegion removed : std::get<1>(pair.second)) {
Pos::GlobalChunk pos = removed << 2;
Pos::GlobalChunk pos = Pos::GlobalChunk(removed) << 2;
for(int z = 0; z < 4; z++)
for(int y = 0; y < 4; y++)
for(int x = 0; x < 4; x++) {