Просмотр исходного кода

fixed that old chnks do not disapear

Kolja Strohm 3 лет назад
Родитель
Сommit
f15e41408d
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      FactoryCraft/Dimension.cpp

+ 1 - 0
FactoryCraft/Dimension.cpp

@@ -65,6 +65,7 @@ void Dimension::setChunk( Chunk* chunk, Punkt center, World* zWorld )
     cs.lock();
     if( old )
     {
+        zWorld->setVisibility( old, 0 );
         int index = 0;
         for( auto iterator = chunkList.begin(); iterator; ++iterator, ++index )
         {