mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 00:23:53 +00:00
Remove unused argument
This commit is contained in:
parent
4690fd3f22
commit
ca4e859f61
4 changed files with 3 additions and 7 deletions
|
@ -269,8 +269,6 @@ namespace MWGui
|
|||
// normalized cell coordinates
|
||||
float nX,nY;
|
||||
|
||||
markerPos.interior = mInterior;
|
||||
|
||||
if (!mInterior)
|
||||
{
|
||||
int cellX, cellY;
|
||||
|
@ -1078,7 +1076,7 @@ namespace MWGui
|
|||
{
|
||||
if (!mLocalMapRender)
|
||||
return true;
|
||||
return mLocalMapRender->isPositionExplored(nX, nY, cellX, cellY, interior);
|
||||
return mLocalMapRender->isPositionExplored(nX, nY, cellX, cellY);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -78,7 +78,6 @@ namespace MWGui
|
|||
{
|
||||
MarkerUserData(MWRender::LocalMap* map)
|
||||
: mLocalMapRender(map)
|
||||
, interior(false)
|
||||
, cellX(0)
|
||||
, cellY(0)
|
||||
, nX(0.f)
|
||||
|
@ -89,7 +88,6 @@ namespace MWGui
|
|||
bool isPositionExplored() const;
|
||||
|
||||
MWRender::LocalMap* mLocalMapRender;
|
||||
bool interior;
|
||||
int cellX;
|
||||
int cellY;
|
||||
float nX;
|
||||
|
|
|
@ -478,7 +478,7 @@ osg::Vec2f LocalMap::interiorMapToWorldPosition (float nX, float nY, int x, int
|
|||
return pos;
|
||||
}
|
||||
|
||||
bool LocalMap::isPositionExplored (float nX, float nY, int x, int y, bool interior)
|
||||
bool LocalMap::isPositionExplored (float nX, float nY, int x, int y)
|
||||
{
|
||||
const MapSegment& segment = mSegments[std::make_pair(x, y)];
|
||||
if (!segment.mFogOfWarImage)
|
||||
|
|
|
@ -99,7 +99,7 @@ namespace MWRender
|
|||
/**
|
||||
* Check if a given position is explored by the player (i.e. not obscured by fog of war)
|
||||
*/
|
||||
bool isPositionExplored (float nX, float nY, int x, int y, bool interior);
|
||||
bool isPositionExplored (float nX, float nY, int x, int y);
|
||||
|
||||
osg::Group* getRoot();
|
||||
|
||||
|
|
Loading…
Reference in a new issue