mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-13 06:10:33 +00:00
ConstructMloClumps
This commit is contained in:
parent
06904755d9
commit
77515f04e0
4 changed files with 13 additions and 6 deletions
|
@ -96,7 +96,7 @@ CFileLoader::LoadLevel(const char *filename)
|
|||
LoadObjectTypes(line + 4);
|
||||
}else if(strncmp(line, "IPL", 3) == 0){
|
||||
if(!objectsLoaded){
|
||||
// CModelInfo::ConstructMloClumps();
|
||||
CModelInfo::ConstructMloClumps();
|
||||
CObjectData::Initialise("DATA\\OBJECT.DAT");
|
||||
objectsLoaded = true;
|
||||
}
|
||||
|
|
|
@ -473,8 +473,8 @@ CCullZone::DoStuffEnteringZone_OneTreadablePlus10m(uint16 i)
|
|||
int j;
|
||||
|
||||
if(i < 6000){
|
||||
CPools::GetTreadablePool()->GetSlot(i)->bZoneCulled = true;;
|
||||
CPools::GetTreadablePool()->GetSlot(i)->bZoneCulled2 = true;;
|
||||
CPools::GetTreadablePool()->GetSlot(i)->bZoneCulled = true;
|
||||
CPools::GetTreadablePool()->GetSlot(i)->bZoneCulled2 = true;
|
||||
bb = CCullZones::aPointersToBigBuildingsForTreadables[i];
|
||||
if(bb != -1)
|
||||
CPools::GetBuildingPool()->GetSlot(bb)->bZoneCulled = true;
|
||||
|
@ -492,7 +492,7 @@ CCullZone::DoStuffEnteringZone_OneTreadable(uint16 i)
|
|||
int j;
|
||||
|
||||
if(i < 6000){
|
||||
CPools::GetTreadablePool()->GetSlot(i)->bZoneCulled = true;;
|
||||
CPools::GetTreadablePool()->GetSlot(i)->bZoneCulled = true;
|
||||
bb = CCullZones::aPointersToBigBuildingsForTreadables[i];
|
||||
if(bb != -1)
|
||||
CPools::GetBuildingPool()->GetSlot(bb)->bZoneCulled = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue