mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-25 12:41:01 +00:00
Fix MSVC warning
This commit is contained in:
parent
a1af1ff487
commit
776c6c2fe6
@ -3127,8 +3127,9 @@ namespace MWWorld
|
||||
while ( !nextCells.empty() ) {
|
||||
currentCells = nextCells;
|
||||
nextCells.clear();
|
||||
for (const std::string &cell : currentCells) {
|
||||
MWWorld::CellStore *next = getInterior(cell);
|
||||
for (const std::string ¤tCell : currentCells)
|
||||
{
|
||||
MWWorld::CellStore *next = getInterior(currentCell);
|
||||
if ( !next ) continue;
|
||||
|
||||
// Check if any door in the cell leads to an exterior directly
|
||||
@ -3150,7 +3151,7 @@ namespace MWWorld
|
||||
}
|
||||
}
|
||||
|
||||
checkedCells.insert(cell);
|
||||
checkedCells.insert(currentCell);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user