diff --git a/apps/openmw/mwworld/cellstore.cpp b/apps/openmw/mwworld/cellstore.cpp index 2964c8a8a..527c72f4e 100644 --- a/apps/openmw/mwworld/cellstore.cpp +++ b/apps/openmw/mwworld/cellstore.cpp @@ -478,6 +478,12 @@ namespace MWWorld return searchVisitor.mFound; } + // Added by tes3mp and used to get all the MergedRefs in the cell + std::vector *CellStore::getMergedRefs() + { + return &mMergedRefs; + } + // Added by tes3mp and used to get all the NPCs in the cell CellRefList *CellStore::getNpcs() { diff --git a/apps/openmw/mwworld/cellstore.hpp b/apps/openmw/mwworld/cellstore.hpp index 2bd3ed082..8bbaaacfc 100644 --- a/apps/openmw/mwworld/cellstore.hpp +++ b/apps/openmw/mwworld/cellstore.hpp @@ -234,6 +234,9 @@ namespace MWWorld Ptr searchExact (const std::string& id, unsigned int refNumIndex, unsigned int mpNum); ///< Added by tes3mp and used to find an object by both its ID and its reference number + std::vector *getMergedRefs(); + // Added by tes3mp and used to get all the MergedRefs in the cell + CellRefList *getNpcs(); // Added by tes3mp and used to get all the NPCs in the cell