1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-29 13:20:35 +00:00

Don't search containers

This commit is contained in:
Evil Eye 2020-09-15 21:13:18 +02:00
parent 165fa1c376
commit fe82cd9f92

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.