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:
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),
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue