From 125eb70a800924b820430dd5d0784b3b9012eb46 Mon Sep 17 00:00:00 2001 From: Blixibon Date: Sat, 8 Jan 2022 15:36:33 -0600 Subject: [PATCH] Added DisappearMinDist to func_lod for forwards compatibility --- sp/src/game/server/func_lod.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sp/src/game/server/func_lod.cpp b/sp/src/game/server/func_lod.cpp index e1c41c12..7a71e270 100644 --- a/sp/src/game/server/func_lod.cpp +++ b/sp/src/game/server/func_lod.cpp @@ -112,6 +112,10 @@ bool CFunc_LOD::KeyValue( const char *szKeyName, const char *szValue ) { m_fDisappearMaxDist = (float)atof(szValue); } + else if (FStrEq(szKeyName, "DisappearMinDist")) // Forwards compatibility + { + m_fDisappearDist = (float)atof(szValue); + } #endif else if (FStrEq(szKeyName, "Solid")) {