From b111d28ede3fbd11ca8e77e55da9363317347960 Mon Sep 17 00:00:00 2001 From: Dave Corley Date: Sun, 10 Dec 2023 08:54:44 -0600 Subject: [PATCH] Fix(CS): Generate blank lands at default height, not water level --- components/esm3/loadland.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/esm3/loadland.cpp b/components/esm3/loadland.cpp index da3cb58344..a69419cd0f 100644 --- a/components/esm3/loadland.cpp +++ b/components/esm3/loadland.cpp @@ -204,9 +204,9 @@ namespace ESM if (mLandData == nullptr) mLandData = std::make_unique(); - mLandData->mHeights.fill(0); - mLandData->mMinHeight = 0; - mLandData->mMaxHeight = 0; + mLandData->mHeights.fill(DEFAULT_HEIGHT); + mLandData->mMinHeight = DEFAULT_HEIGHT; + mLandData->mMaxHeight = DEFAULT_HEIGHT; for (size_t i = 0; i < LandRecordData::sLandNumVerts; ++i) { mLandData->mNormals[i * 3 + 0] = 0;