mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-01 18:09:40 +00:00
Merge branch 'safely_on_the_other_side_of_the_door_48' into 'openmw-48'
!2619 for 0.48 See merge request OpenMW/openmw!2622
This commit is contained in:
commit
e30d5a5a35
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ namespace MWMechanics
|
|||
|
||||
MWWorld::Ptr target = MWBase::Environment::get().getWorld()->searchPtrViaActorId(mTargetActorId);
|
||||
if (target.isEmpty())
|
||||
return false;
|
||||
return true;
|
||||
|
||||
if(!target.getRefData().getCount() || !target.getRefData().isEnabled() // Really we should be checking whether the target is currently registered
|
||||
// with the MechanicsManager
|
||||
|
|
Loading…
Reference in a new issue