mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 13:44:56 +00:00
Working CScriptGunTurret
This commit is contained in:
@@ -124,12 +124,14 @@ bool CAutoMapper::CheckLoadComplete() {
|
||||
if (!x3c_hintBeacon.IsLoaded())
|
||||
return false;
|
||||
x4_loadPhase = ELoadPhase::LoadUniverse;
|
||||
[[fallthrough]];
|
||||
case ELoadPhase::LoadUniverse:
|
||||
if (!x8_mapu.IsLoaded())
|
||||
return false;
|
||||
x14_dummyWorlds.resize(x8_mapu->GetNumMapWorldDatas());
|
||||
SetCurWorldAssetId(x24_world->IGetWorldAssetId());
|
||||
x4_loadPhase = ELoadPhase::Done;
|
||||
[[fallthrough]];
|
||||
case ELoadPhase::Done:
|
||||
return true;
|
||||
default:
|
||||
|
||||
@@ -85,6 +85,7 @@ std::pair<zeus::CColor, zeus::CColor> CMappableObject::GetDoorColors(int curArea
|
||||
case EMappableObjectType::PlasmaDoorFloor:
|
||||
case EMappableObjectType::PlasmaDoorFloor2:
|
||||
colorIdx = 4;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user