Maintenance: [forced, user-approved] Family G32: remove TerrainHeight (31 files, reassigned from agent 2). The height-grid methods ru

Batch #10268 by ragnarok-clanker: forced by an admin (17 lower score(s), 85 changed function(s)); checked with 222 compiled unit(s), including every includer of Source/Client/Mode/CGameMode.h, Source/Contents/Camera/CameraFrame.h, Source/Contents/Ground/TerrainHeight.h, Source/Contents/World/World.h, Source/Resource/World/TerrainResource.h.
This commit is contained in:
ragnarok-clanker 2026-11-03 14:34:33 +00:00
commit ba6ca37fa1
50 changed files with 211 additions and 230 deletions

View file

@ -663,7 +663,7 @@ void CEZ2STRParticle::RenderGround(EZeffectClip* clip, EZeffectTransform* transf
point.y = x * values[1] + y * values[4] + z * values[7] + values[10];
point.z = x * values[2] + y * values[5] + z * values[8] + values[11];
CGameMode* mode = static_cast<CGameMode*>(g_modeMgr.GetGameMode());
point.y = mode->scene->terrain->Grid().PlaneHeight(point.x, point.z) - 2.0f;
point.y = mode->scene->terrain->PlaneHeight(point.x, point.z) - 2.0f;
if (this->m_groundHeight != -1000.0f && point.y - this->m_groundHeight > 5.0f) {
point.y = this->m_groundHeight;
}