mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2024-12-28 23:03:01 +05:00
8 lines
225 B
C++
8 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;
|
|
}
|