1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-28 08:37:12 +00:00

remove for array, just std::swap

This commit is contained in:
Nelsson Huotari 2019-10-06 23:50:16 +03:00
parent e35ed960ee
commit 2fdaacf23c

View File

@ -342,10 +342,7 @@ namespace ESM
std::swap (mContext, land.mContext);
std::swap (mDataTypes, land.mDataTypes);
std::swap (mLandData, land.mLandData);
for (int i = 0; i < LAND_GLOBAL_MAP_LOD_SIZE; ++i)
{
std::swap (mWnam[i], land.mWnam[i]);
}
std::swap (mWnam, land.mWnam);
}
const Land::LandData *Land::getLandData (int flags) const