mirror of
https://github.com/halpz/re3.git
synced 2025-07-22 01:19:48 +00:00
Rename LEVEL_NONE to LEVEL_GENERIC
This commit is contained in:
@ -17,6 +17,6 @@ CBuilding::ReplaceWithNewModel(int32 id)
|
||||
m_modelIndex = id;
|
||||
|
||||
if(bIsBIGBuilding)
|
||||
if(m_level == LEVEL_NONE || m_level == CGame::currLevel)
|
||||
if(m_level == LEVEL_GENERIC || m_level == CGame::currLevel)
|
||||
CStreaming::RequestModel(id, STREAMFLAGS_DONT_REMOVE);
|
||||
}
|
||||
|
@ -332,14 +332,14 @@ CEntity::SetupBigBuilding(void)
|
||||
bStreamingDontDelete = true;
|
||||
bUsesCollision = false;
|
||||
m_level = CTheZones::GetLevelFromPosition(&GetPosition());
|
||||
if(m_level == LEVEL_NONE){
|
||||
if(m_level == LEVEL_GENERIC){
|
||||
if(mi->GetTxdSlot() != CTxdStore::FindTxdSlot("generic")){
|
||||
mi->SetTexDictionary("generic");
|
||||
printf("%d:%s txd has been set to generic\n", m_modelIndex, mi->GetName());
|
||||
}
|
||||
}
|
||||
if(mi->m_lodDistances[0] > 2000.0f)
|
||||
m_level = LEVEL_NONE;
|
||||
m_level = LEVEL_GENERIC;
|
||||
}
|
||||
|
||||
CRect
|
||||
|
@ -70,7 +70,7 @@ CPhysical::CPhysical(void)
|
||||
#ifdef FIX_BUGS
|
||||
m_nSurfaceTouched = SURFACE_DEFAULT;
|
||||
#endif
|
||||
m_nZoneLevel = LEVEL_NONE;
|
||||
m_nZoneLevel = LEVEL_GENERIC;
|
||||
}
|
||||
|
||||
CPhysical::~CPhysical(void)
|
||||
|
Reference in New Issue
Block a user