mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-21 10:23:52 +00:00
Fix MSVC warning
This commit is contained in:
parent
a1af1ff487
commit
776c6c2fe6
1 changed files with 4 additions and 3 deletions
|
@ -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…
Reference in a new issue