From 590dfe8d63e6eb6b608e12177a6dd43918244eea Mon Sep 17 00:00:00 2001 From: Marc Zinnschlag Date: Tue, 19 Jun 2012 16:42:10 +0200 Subject: [PATCH] fixed the container fill problem on cell load --- apps/openmw/mwworld/cells.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/openmw/mwworld/cells.cpp b/apps/openmw/mwworld/cells.cpp index b6d3e38ce7..990a4cc4a3 100644 --- a/apps/openmw/mwworld/cells.cpp +++ b/apps/openmw/mwworld/cells.cpp @@ -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(); }