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:
parent
12304d36aa
commit
5dfa06acf8
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -58,7 +58,6 @@ namespace ESMTerrain
|
||||
|
||||
private:
|
||||
const ESM::Land* mLand;
|
||||
int mLoadFlags;
|
||||
|
||||
ESM::LandData mData;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user