mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-03 14:09:39 +00:00
remove for array, just std::swap
This commit is contained in:
parent
e35ed960ee
commit
2fdaacf23c
1 changed files with 1 additions and 4 deletions
|
@ -342,10 +342,7 @@ namespace ESM
|
||||||
std::swap (mContext, land.mContext);
|
std::swap (mContext, land.mContext);
|
||||||
std::swap (mDataTypes, land.mDataTypes);
|
std::swap (mDataTypes, land.mDataTypes);
|
||||||
std::swap (mLandData, land.mLandData);
|
std::swap (mLandData, land.mLandData);
|
||||||
for (int i = 0; i < LAND_GLOBAL_MAP_LOD_SIZE; ++i)
|
std::swap (mWnam, land.mWnam);
|
||||||
{
|
|
||||||
std::swap (mWnam[i], land.mWnam[i]);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const Land::LandData *Land::getLandData (int flags) const
|
const Land::LandData *Land::getLandData (int flags) const
|
||||||
|
|
Loading…
Reference in a new issue