mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-21 10:53:51 +00:00
Bug #772: Do not show door markers for disabled doors
This commit is contained in:
parent
961c4d4dc4
commit
7428511ea0
1 changed files with 3 additions and 0 deletions
|
@ -1491,6 +1491,9 @@ namespace MWWorld
|
||||||
{
|
{
|
||||||
MWWorld::LiveCellRef<ESM::Door>& ref = *it;
|
MWWorld::LiveCellRef<ESM::Door>& ref = *it;
|
||||||
|
|
||||||
|
if (!ref.mData.isEnabled())
|
||||||
|
continue;
|
||||||
|
|
||||||
if (ref.mRef.mTeleport)
|
if (ref.mRef.mTeleport)
|
||||||
{
|
{
|
||||||
World::DoorMarker newMarker;
|
World::DoorMarker newMarker;
|
||||||
|
|
Loading…
Reference in a new issue