mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-19 19:53:53 +00:00
Move getLandData definitions to class definition
This commit is contained in:
parent
07599d0bb0
commit
d0f8ab5767
2 changed files with 8 additions and 12 deletions
|
@ -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…
Reference in a new issue