2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 11:47:43 +00:00

Update submodules, add room timer

This commit is contained in:
2020-12-31 14:00:10 -08:00
parent 0364d50164
commit c6593760b1
6 changed files with 26 additions and 2 deletions

View File

@@ -2845,4 +2845,11 @@ void CStateManager::sub_80044098(const CCollisionResponseData& colRespData, cons
TUniqueId uid, const CWeaponMode& weaponMode, u32 w1, u8 thermalFlags) {
// TODO implement
}
const CGameArea* CStateManager::GetCurrentArea() const {
if (x850_world == nullptr || x850_world->GetCurrentAreaId() == kInvalidAreaId) {
return nullptr;
}
return x850_world->GetAreaAlways(x850_world->GetCurrentAreaId());
};
} // namespace urde