forked from teamnwah/openmw-tes3coop
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:
parent
372308b49a
commit
ffd96c7715
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue