mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 12:53:53 +00:00
fixed the container fill problem on cell load
This commit is contained in:
parent
511d0c0e1c
commit
590dfe8d63
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue