|
|
@ -538,13 +538,9 @@ namespace MWWorld
|
|
|
|
std::cout << "Changing to interior\n";
|
|
|
|
std::cout << "Changing to interior\n";
|
|
|
|
|
|
|
|
|
|
|
|
// unload
|
|
|
|
// unload
|
|
|
|
int current = 0;
|
|
|
|
|
|
|
|
CellStoreCollection::iterator active = mActiveCells.begin();
|
|
|
|
CellStoreCollection::iterator active = mActiveCells.begin();
|
|
|
|
while (active!=mActiveCells.end())
|
|
|
|
while (active!=mActiveCells.end())
|
|
|
|
{
|
|
|
|
|
|
|
|
unloadCell (active++);
|
|
|
|
unloadCell (active++);
|
|
|
|
++current;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int refsToLoad = cell->count();
|
|
|
|
int refsToLoad = cell->count();
|
|
|
|
loadingListener->setProgressRange(refsToLoad);
|
|
|
|
loadingListener->setProgressRange(refsToLoad);
|
|
|
|