1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 09:35:28 +00:00

Merge pull request #3005 from Assumeru/dont-search-containers

Don't search containers
This commit is contained in:
Bret Curtis 2020-09-20 11:48:26 +02:00 committed by GitHub
commit 8f07b7e076
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -287,9 +287,9 @@ namespace MWWorld
///< Return a pointer to a liveCellRef with the given name.
/// \param activeOnly do non search inactive cells.
Ptr searchPtr (const std::string& name, bool activeOnly, bool searchInContainers = true) override;
Ptr searchPtr (const std::string& name, bool activeOnly, bool searchInContainers = false) override;
///< Return a pointer to a liveCellRef with the given name.
/// \param activeOnly do non search inactive cells.
/// \param activeOnly do not search inactive cells.
Ptr searchPtrViaActorId (int actorId) override;
///< Search is limited to the active cells.