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:
parent
e35ed960ee
commit
2fdaacf23c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user