1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-28 20:36:42 +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. ///< Return a pointer to a liveCellRef with the given name.
/// \param activeOnly do non search inactive cells. /// \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. ///< 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; Ptr searchPtrViaActorId (int actorId) override;
///< Search is limited to the active cells. ///< Search is limited to the active cells.