mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-17 19:20:49 +00:00
Remove redundant MapSegment constructor and destructor
This commit is contained in:
parent
d927aaad14
commit
b2f7fc70a6
@ -571,11 +571,6 @@ namespace MWRender
|
||||
}
|
||||
}
|
||||
|
||||
LocalMap::MapSegment::MapSegment()
|
||||
: mHasFogState(false)
|
||||
{
|
||||
}
|
||||
|
||||
void LocalMap::MapSegment::createFogOfWarTexture()
|
||||
{
|
||||
if (mFogOfWarTexture)
|
||||
|
@ -109,9 +109,6 @@ namespace MWRender
|
||||
|
||||
struct MapSegment
|
||||
{
|
||||
MapSegment();
|
||||
~MapSegment() = default;
|
||||
|
||||
void initFogOfWar();
|
||||
void loadFogOfWar(const ESM::FogTexture& fog);
|
||||
void saveFogOfWar(ESM::FogTexture& fog) const;
|
||||
@ -122,8 +119,7 @@ namespace MWRender
|
||||
osg::ref_ptr<osg::Image> mFogOfWarImage;
|
||||
|
||||
bool needUpdate = true;
|
||||
|
||||
bool mHasFogState;
|
||||
bool mHasFogState = false;
|
||||
};
|
||||
|
||||
typedef std::map<std::pair<int, int>, MapSegment> SegmentMap;
|
||||
|
Loading…
x
Reference in New Issue
Block a user