diff --git a/apps/openmw/mwworld/cellstore.cpp b/apps/openmw/mwworld/cellstore.cpp index a8ad6787a..f947d7134 100644 --- a/apps/openmw/mwworld/cellstore.cpp +++ b/apps/openmw/mwworld/cellstore.cpp @@ -541,9 +541,9 @@ namespace MWWorld Make it possible to get the mMergedRefs in the CellStore from elsewhere in the code */ - std::vector *CellStore::getMergedRefs() + std::vector &CellStore::getMergedRefs() { - return &mMergedRefs; + return mMergedRefs; } /* End of tes3mp addition diff --git a/apps/openmw/mwworld/cellstore.hpp b/apps/openmw/mwworld/cellstore.hpp index ddc8db67d..20fba595a 100644 --- a/apps/openmw/mwworld/cellstore.hpp +++ b/apps/openmw/mwworld/cellstore.hpp @@ -245,7 +245,7 @@ namespace MWWorld Make it possible to get the mMergedRefs in the CellStore from elsewhere in the code */ - std::vector *getMergedRefs(); + std::vector &getMergedRefs(); /* End of tes3mp addition */