Added DisappearMinDist to func_lod for forwards compatibility

This commit is contained in:
Blixibon 2022-01-08 15:36:33 -06:00
parent eb05dba580
commit 125eb70a80

View File

@ -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"))
{