forked from teamnwah/openmw-tes3coop
Remove moved ref handling from listRefs()
Not needed since we now load cells when a reference is moved there.
This commit is contained in:
parent
1875aa4a18
commit
621347b20f
1 changed files with 0 additions and 8 deletions
|
@ -474,8 +474,6 @@ namespace MWWorld
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
// We don't need to check mMovedToAnotherCell because listRefs isn't used for loaded cells.
|
|
||||||
|
|
||||||
mIds.push_back (Misc::StringUtils::lowerCase (ref.mRefID));
|
mIds.push_back (Misc::StringUtils::lowerCase (ref.mRefID));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -488,12 +486,6 @@ namespace MWWorld
|
||||||
mIds.push_back(Misc::StringUtils::lowerCase(ref.mRefID));
|
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());
|
std::sort (mIds.begin(), mIds.end());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue