1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-06 00:55:50 +00:00

removes unused variable

it was already mostly unused, it was usefull only in the constructor, even though it was a paramater of the constructor, so it could have been removed.
This commit is contained in:
florent.teppe 2023-05-26 12:50:10 +02:00
parent 12304d36aa
commit 5dfa06acf8
2 changed files with 0 additions and 5 deletions

View File

@ -24,27 +24,23 @@ namespace ESMTerrain
LandObject::LandObject()
: mLand(nullptr)
, mLoadFlags(0)
{
}
LandObject::LandObject(const ESM4::Land* land, int loadFlags)
: mLand(nullptr)
, mLoadFlags(0)
, mData(*land, loadFlags)
{
}
LandObject::LandObject(const ESM::Land* land, int loadFlags)
: mLand(land)
, mLoadFlags(loadFlags)
, mData(*land, loadFlags)
{
}
LandObject::LandObject(const LandObject& copy, const osg::CopyOp& copyop)
: mLand(nullptr)
, mLoadFlags(0)
{
}

View File

@ -58,7 +58,6 @@ namespace ESMTerrain
private:
const ESM::Land* mLand;
int mLoadFlags;
ESM::LandData mData;
};