don't make copy of CellRefList in World::getNorthVector

pull/21/head
scrawl 13 years ago
parent 3c39c47e2f
commit d9276ca09d

@ -1021,7 +1021,7 @@ namespace MWWorld
Ogre::Vector2 World::getNorthVector (CellStore* cell)
{
MWWorld::CellRefList<ESM::Static> statics = cell->statics;
MWWorld::CellRefList<ESM::Static>& statics = cell->statics;
MWWorld::LiveCellRef<ESM::Static>* ref = statics.find("northmarker");
if (!ref)
return Vector2(0, 1);

Loading…
Cancel
Save