mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 22:27:43 +00:00
Fix doors and various area streaming bugs
This commit is contained in:
@@ -360,7 +360,7 @@ TAreaId CStateManager::GetVisAreaId() const
|
||||
CMaterialFilter::EFilterType::Include), nullptr);
|
||||
for (TUniqueId id : nearList)
|
||||
if (TCastToConstPtr<CScriptDock> dock = GetObjectById(id))
|
||||
if (dock->GetDestinationAreaId() == curArea && dock->HasPointCrossedDock(*this, camTranslation))
|
||||
if (dock->GetAreaId() == curArea && dock->HasPointCrossedDock(*this, camTranslation))
|
||||
return dock->GetCurrentConnectedAreaId(*this);
|
||||
|
||||
return curArea;
|
||||
|
||||
Reference in New Issue
Block a user