Remove unused variable

This commit is contained in:
Allofich 2017-04-20 00:42:53 +09:00
parent 5a00b239ac
commit f299f26720

View file

@ -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);