mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-04 09:34:08 +00:00
streaming fixes
This commit is contained in:
parent
2ce925caba
commit
225b8953fd
3 changed files with 27 additions and 17 deletions
|
@ -4,6 +4,7 @@
|
|||
#include "RwHelper.h"
|
||||
#include "ModelIndices.h"
|
||||
#include "Timer.h"
|
||||
#include "Streaming.h"
|
||||
#include "Entity.h"
|
||||
#include "Object.h"
|
||||
#include "World.h"
|
||||
|
@ -623,10 +624,15 @@ CEntity::SetupBigBuilding(void)
|
|||
m_level = CTheZones::GetLevelFromPosition(&GetPosition());
|
||||
if(mi->m_lodDistances[0] <= 2000.0f)
|
||||
bStreamBIGBuilding = true;
|
||||
if(mi->m_lodDistances[0] > 2500.0f || mi->m_ignoreDrawDist)
|
||||
if(m_modelIndex == islandLODindust ||
|
||||
m_modelIndex == islandLODcomInd ||
|
||||
m_modelIndex == islandLODcomSub ||
|
||||
m_modelIndex == islandLODsubInd ||
|
||||
m_modelIndex == islandLODsubCom ||
|
||||
mi->m_lodDistances[0] > 5000.0f || mi->m_ignoreDrawDist)
|
||||
m_level = LEVEL_GENERIC;
|
||||
else if(m_level == LEVEL_GENERIC)
|
||||
printf("%s isn't in a level\n", mi->GetModelName());
|
||||
// else if(m_level == LEVEL_GENERIC)
|
||||
// printf("%s isn't in a level\n", mi->GetModelName());
|
||||
}
|
||||
|
||||
float WindTabel[] = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue