mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-31 15:15:40 +00:00
Fix(CS): Generate blank lands at default height, not water level
This commit is contained in:
parent
0ba2e569d9
commit
b5d118f5ee
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ namespace ESM
|
||||||
mLandData = std::make_unique<LandData>();
|
mLandData = std::make_unique<LandData>();
|
||||||
|
|
||||||
mLandData->mHeightOffset = 0;
|
mLandData->mHeightOffset = 0;
|
||||||
mLandData->mHeights.fill(0);
|
std::fill(std::begin(mLandData->mHeights), std::end(mLandData->mHeights), DEFAULT_HEIGHT);
|
||||||
mLandData->mMinHeight = 0;
|
mLandData->mMinHeight = 0;
|
||||||
mLandData->mMaxHeight = 0;
|
mLandData->mMaxHeight = 0;
|
||||||
for (size_t i = 0; i < LandRecordData::sLandNumVerts; ++i)
|
for (size_t i = 0; i < LandRecordData::sLandNumVerts; ++i)
|
||||||
|
|
Loading…
Reference in a new issue