mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-26 22:45:15 -04:00
Fix MSVC warning
This commit is contained in:
parent
a1af1ff487
commit
776c6c2fe6
@ -3127,8 +3127,9 @@ namespace MWWorld
|
|||||||
while ( !nextCells.empty() ) {
|
while ( !nextCells.empty() ) {
|
||||||
currentCells = nextCells;
|
currentCells = nextCells;
|
||||||
nextCells.clear();
|
nextCells.clear();
|
||||||
for (const std::string &cell : currentCells) {
|
for (const std::string ¤tCell : currentCells)
|
||||||
MWWorld::CellStore *next = getInterior(cell);
|
{
|
||||||
|
MWWorld::CellStore *next = getInterior(currentCell);
|
||||||
if ( !next ) continue;
|
if ( !next ) continue;
|
||||||
|
|
||||||
// Check if any door in the cell leads to an exterior directly
|
// 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