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

CModel destructor & frame list fixes

This commit is contained in:
2022-03-09 02:23:56 -05:00
parent 8d83afa102
commit d62336b813
6 changed files with 19 additions and 2 deletions

View File

@@ -168,7 +168,10 @@ void CInGameGuiManager::DoStateTransition(CStateManager& stateMgr) {
}
}
void CInGameGuiManager::DestroyAreaTextures(CStateManager& stateMgr) {}
void CInGameGuiManager::DestroyAreaTextures(CStateManager& stateMgr) {
// TODO
CModel::DisableTextureTimeout();
}
void CInGameGuiManager::TryReloadAreaTextures() {}
@@ -270,6 +273,7 @@ void CInGameGuiManager::OnNewPauseScreenState(CArchitectureQueue& archQueue) {
if (x1c0_nextState >= EInGameGuiState::Zero && x1c0_nextState <= EInGameGuiState::InGame) {
if (x44_messageScreen)
x44_messageScreen.reset();
CModel::EnableTextureTimeout();
RefreshHudOptions();
}
x1bc_prevState = x1c0_nextState;