Remove moved ref handling from listRefs()

Not needed since we now load cells when a reference is moved there.
openmw-38
scrawl 9 years ago
parent 1875aa4a18
commit 621347b20f

@ -474,8 +474,6 @@ namespace MWWorld
continue;
}
// We don't need to check mMovedToAnotherCell because listRefs isn't used for loaded cells.
mIds.push_back (Misc::StringUtils::lowerCase (ref.mRefID));
}
}
@ -488,12 +486,6 @@ namespace MWWorld
mIds.push_back(Misc::StringUtils::lowerCase(ref.mRefID));
}
// List runtime moved references
for (MovedRefTracker::const_iterator it = mMovedHere.begin(); it != mMovedHere.end(); ++it)
{
mIds.push_back(Misc::StringUtils::lowerCase(it->first->mRef.getRefId()));
}
std::sort (mIds.begin(), mIds.end());
}

Loading…
Cancel
Save