1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 22:53:50 +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