mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2024-12-29 15:23:02 +05:00
9 lines
225 B
C++
9 lines
225 B
C++
|
#include "StdAfx.h"
|
||
|
#include "ModelInfoIII.h"
|
||
|
|
||
|
void CSimpleModelInfo::SetNearDistanceForLOD_SilentPatch()
|
||
|
{
|
||
|
// 100.0f for real LOD's, 0.0f otherwise
|
||
|
m_lodDistances[2] = _strnicmp( m_name, "lod", 3 ) == 0 ? 100.0f : 0.0f;
|
||
|
}
|