mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-29 22:36:43 +00:00
for -> std::copy
This commit is contained in:
parent
7f030fc3ee
commit
e35ed960ee
1 changed files with 1 additions and 4 deletions
|
@ -324,10 +324,7 @@ namespace ESM
|
||||||
mContext (land.mContext), mDataTypes (land.mDataTypes),
|
mContext (land.mContext), mDataTypes (land.mDataTypes),
|
||||||
mLandData (land.mLandData ? new LandData (*land.mLandData) : 0)
|
mLandData (land.mLandData ? new LandData (*land.mLandData) : 0)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < LAND_GLOBAL_MAP_LOD_SIZE; ++i)
|
std::copy(land.mWnam, land.mWnam + LAND_GLOBAL_MAP_LOD_SIZE, mWnam);
|
||||||
{
|
|
||||||
mWnam[i] = static_cast<signed char>(land.mWnam[i]);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Land& Land::operator= (Land land)
|
Land& Land::operator= (Land land)
|
||||||
|
|
Loading…
Reference in a new issue