@ -141,7 +141,7 @@ namespace MWBase
virtual bool isCellQuasiExterior() const = 0;
virtual osg::Vec2f getNorthVector (MWWorld::CellStore* cell) = 0;
virtual osg::Vec2f getNorthVector (const MWWorld::CellStore* cell) = 0;
///< get north vector for given interior cell
virtual void getDoorMarkers (MWWorld::CellStore* cell, std::vector<DoorMarker>& out) = 0;
@ -1710,9 +1710,9 @@ namespace MWWorld
mWeatherManager->modRegion(regionid, chances);
}
osg::Vec2f World::getNorthVector (CellStore* cell)
osg::Vec2f World::getNorthVector (const CellStore* cell)
{
MWWorld::Ptr northmarker = cell->search("northmarker");
MWWorld::ConstPtr northmarker = cell->searchConst("northmarker");
if (northmarker.isEmpty())
return osg::Vec2f(0, 1);
@ -227,7 +227,7 @@ namespace MWWorld
virtual bool isCellQuasiExterior() const;
virtual osg::Vec2f getNorthVector (CellStore* cell);
virtual osg::Vec2f getNorthVector (const CellStore* cell);
virtual void getDoorMarkers (MWWorld::CellStore* cell, std::vector<DoorMarker>& out);