1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-04-18 21:36:45 +00:00

Removing the unloading cells part instead of just commenting them.

This commit is contained in:
vorenon 2013-02-28 15:58:03 +01:00
parent ffd96c7715
commit d4aa33b9a7

View file

@ -75,7 +75,7 @@ namespace MWWorld
{ {
std::cout << "Unloading cell\n"; std::cout << "Unloading cell\n";
ListHandles functor; ListHandles functor;
(*iter)->forEach<ListHandles>(functor); (*iter)->forEach<ListHandles>(functor);
{ {
// silence annoying g++ warning // silence annoying g++ warning
@ -217,7 +217,6 @@ namespace MWWorld
} }
} }
//MWBase::Environment::get().getWindowManager ()->setLoadingProgress ("Unloading cells", 0, current, numUnload);
unloadCell (active++); unloadCell (active++);
++current; ++current;
} }
@ -360,7 +359,6 @@ namespace MWWorld
active = mActiveCells.begin(); active = mActiveCells.begin();
while (active!=mActiveCells.end()) while (active!=mActiveCells.end())
{ {
//MWBase::Environment::get().getWindowManager ()->setLoadingProgress ("Unloading cells", 0, current, numUnload);
unloadCell (active++); unloadCell (active++);
++current; ++current;