mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 22:23:51 +00:00
don't make copy of CellRefList in World::getNorthVector
This commit is contained in:
parent
3c39c47e2f
commit
d9276ca09d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue