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

Various bug fixes

This commit is contained in:
Jack Andersen
2019-03-08 22:58:27 -10:00
parent f40bf707f6
commit 2f963b9ce3
28 changed files with 283 additions and 120 deletions

View File

@@ -18,11 +18,10 @@ CGuiModel::CGuiModel(const CGuiWidgetParms& parms, CSimplePool* sp, CAssetId mod
bool CGuiModel::GetIsFinishedLoadingWidgetSpecific() const {
if (!xb8_model)
return true;
const CModel* model = xb8_model.GetObj();
if (!model)
if (!xb8_model.IsLoaded())
return false;
model->GetInstance().Touch(0);
return model->IsLoaded(0);
xb8_model->GetInstance().Touch(0);
return xb8_model->IsLoaded(0);
}
void CGuiModel::Touch() const {