From facbb2e0db9f6de8e9713813bf57a2b6b21e8f6e Mon Sep 17 00:00:00 2001 From: Alexei Dobrohotov Date: Sat, 20 Jul 2019 00:12:05 +0300 Subject: [PATCH] [Regression] Make sure unloaded objects can be opened --- apps/openmw/mwmechanics/objects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwmechanics/objects.cpp b/apps/openmw/mwmechanics/objects.cpp index d4a393c72..9e05509f1 100644 --- a/apps/openmw/mwmechanics/objects.cpp +++ b/apps/openmw/mwmechanics/objects.cpp @@ -106,7 +106,7 @@ bool Objects::onOpen(const MWWorld::Ptr& ptr) PtrControllerMap::iterator iter = mObjects.find(ptr); if(iter != mObjects.end()) return iter->second->onOpen(); - return false; + return true; } void Objects::onClose(const MWWorld::Ptr& ptr)