Removed "Unloading Cell..." text from loading screen

OpenMW unloads the cell so fast, it's hardly noticable. This commit gets rid of
the "flicker" every time a cell loads.
This commit is contained in:
vorenon 2013-02-28 13:19:05 +01:00
parent 372308b49a
commit ffd96c7715

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,7 @@ namespace MWWorld
} }
} }
MWBase::Environment::get().getWindowManager ()->setLoadingProgress ("Unloading cells", 0, current, numUnload); //MWBase::Environment::get().getWindowManager ()->setLoadingProgress ("Unloading cells", 0, current, numUnload);
unloadCell (active++); unloadCell (active++);
++current; ++current;
} }
@ -360,7 +360,7 @@ 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); //MWBase::Environment::get().getWindowManager ()->setLoadingProgress ("Unloading cells", 0, current, numUnload);
unloadCell (active++); unloadCell (active++);
++current; ++current;