Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions GeneralsMD/Code/GameEngine/Source/Common/GlobalData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,19 @@ GlobalData::GlobalData()
m_getHealedAnimationName.clear();
m_specialPowerViewObjectName.clear();

#if defined(GENERALS_ONLINE_TEMP_FIX_DRAW_ENTIRE_TERRAIN)
// TheSuperHackers/GeneralsOnline @bugfix: Force full-terrain rendering.
// The "DrawEntireTerrain" INI field is intentionally not parsed in GeneralsOnline builds, so it
// stays out of the INI CRC and all players remain retail-compatible/consistent. However,
// GeneralsOnline also enables a non-retail extended camera zoom. With the default partial draw
// window, zooming out on a map larger than that window leaves the rest of the terrain undrawn and
// exposes the global water plane, so the map looks flooded even when it contains no water.
// Forcing the value on restores full-map rendering. This is a client-side visual setting only:
// it does not affect the simulation or the INI CRC.
m_drawEntireTerrain = TRUE;
#else
m_drawEntireTerrain = FALSE;
#endif
m_maxParticleCount = 0;
m_maxFieldParticleCount = 30;

Expand Down