mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 14:39:03 +00:00
getting rid of strnicmp
This commit is contained in:
parent
bae3a3e72f
commit
12cc0e4132
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ CSimpleModelInfo::SetupBigBuilding(void)
|
||||||
m_lodDistances[2] = related->GetLargestLodDistance()/TheCamera.LODDistMultiplier;
|
m_lodDistances[2] = related->GetLargestLodDistance()/TheCamera.LODDistMultiplier;
|
||||||
else
|
else
|
||||||
#ifdef FIX_BUGS
|
#ifdef FIX_BUGS
|
||||||
if(strnicmp(GetName(), "lod", 3) == 0)
|
if(toupper(m_name[0]) == 'L' && toupper(m_name[1]) == 'O' && toupper(m_name[2]) == 'D')
|
||||||
m_lodDistances[2] = 100.0f;
|
m_lodDistances[2] = 100.0f;
|
||||||
else
|
else
|
||||||
m_lodDistances[2] = 0.0f;
|
m_lodDistances[2] = 0.0f;
|
||||||
|
|
Loading…
Reference in a new issue