Skip to content

Commit

Permalink
Merge branch 'wehavegrassathome' into 'master'
Browse files Browse the repository at this point in the history
Don't enable groundcover for non-default worldspaces (#7692)

Closes #7692

See merge request OpenMW/openmw!4438
  • Loading branch information
Assumeru committed Oct 31, 2024
2 parents 81612a5 + 476abb8 commit c3b575f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/openmw/mwrender/renderingmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1455,7 +1455,7 @@ namespace MWRender
RenderingManager::WorldspaceChunkMgr newChunkMgr;

const float lodFactor = Settings::terrain().mLodFactor;
const bool groundcover = Settings::groundcover().mEnabled;
const bool groundcover = Settings::groundcover().mEnabled && worldspace == ESM::Cell::sDefaultWorldspaceId;
const bool distantTerrain = Settings::terrain().mDistantTerrain;
const double expiryDelay = Settings::cells().mCacheExpiryDelay;
if (distantTerrain || groundcover)
Expand Down

0 comments on commit c3b575f

Please sign in to comment.