1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 22:23:51 +00:00

for -> std::copy

This commit is contained in:
Nelsson Huotari 2019-10-06 21:57:10 +03:00
parent 7f030fc3ee
commit e35ed960ee

View file

@ -324,10 +324,7 @@ namespace ESM
mContext (land.mContext), mDataTypes (land.mDataTypes),
mLandData (land.mLandData ? new LandData (*land.mLandData) : 0)
{
for (int i = 0; i < LAND_GLOBAL_MAP_LOD_SIZE; ++i)
{
mWnam[i] = static_cast<signed char>(land.mWnam[i]);
}
std::copy(land.mWnam, land.mWnam + LAND_GLOBAL_MAP_LOD_SIZE, mWnam);
}
Land& Land::operator= (Land land)