fixed the container fill problem on cell load

pull/21/head
Marc Zinnschlag 13 years ago
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…
Cancel
Save