mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 21:42:13 +00:00
fixed the container fill problem on cell load
This commit is contained in:
parent
511d0c0e1c
commit
590dfe8d63
@ -142,7 +142,10 @@ MWWorld::Ptr MWWorld::Cells::getPtr (const std::string& name, Ptr::CellStore& ce
|
||||
(int(*)(int)) std::tolower);
|
||||
|
||||
if (std::binary_search (cell.mIds.begin(), cell.mIds.end(), lowerCase))
|
||||
{
|
||||
cell.load (mStore, mReader);
|
||||
fillContainers (cell);
|
||||
}
|
||||
else
|
||||
return Ptr();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user