Move getLandData definitions to class definition

macos_ci_fix
elsid 1 year ago
parent 07599d0bb0
commit d0f8ab5767
No known key found for this signature in database
GPG Key ID: 4DE04C198CBA7625

@ -368,16 +368,6 @@ namespace ESM
return mLandData; return mLandData;
} }
const Land::LandData* Land::getLandData() const
{
return mLandData;
}
Land::LandData* Land::getLandData()
{
return mLandData;
}
void Land::add(int flags) void Land::add(int flags)
{ {
if (!mLandData) if (!mLandData)

@ -150,10 +150,16 @@ namespace ESM
const LandData* getLandData(int flags) const; const LandData* getLandData(int flags) const;
/// Return land data without loading first anything. Can return a 0-pointer. /// Return land data without loading first anything. Can return a 0-pointer.
const LandData* getLandData() const; const LandData* getLandData() const
{
return mLandData;
}
/// Return land data without loading first anything. Can return a 0-pointer. /// Return land data without loading first anything. Can return a 0-pointer.
LandData* getLandData(); LandData* getLandData()
{
return mLandData;
}
/// \attention Must not be called on objects that aren't fully loaded. /// \attention Must not be called on objects that aren't fully loaded.
/// ///

Loading…
Cancel
Save