1
0
Fork 1
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:
scrawl 2012-08-28 18:23:59 +02:00
parent 3c39c47e2f
commit d9276ca09d

View file

@ -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);