mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 05:07:43 +00:00
Resource factories now provided with self-ref
This commit is contained in:
@@ -31,7 +31,7 @@ bool CGuiModel::GetIsFinishedLoadingWidgetSpecific() const
|
||||
const CModel* model = xf8_model.GetObj();
|
||||
if (!model)
|
||||
return false;
|
||||
model->Touch(0);
|
||||
model->GetInstance().Touch(0);
|
||||
return model->IsLoaded(0);
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ void CGuiModel::Touch() const
|
||||
{
|
||||
const CModel* model = xf8_model.GetObj();
|
||||
if (model)
|
||||
model->Touch(0);
|
||||
model->GetInstance().Touch(0);
|
||||
}
|
||||
|
||||
void CGuiModel::Draw(const CGuiWidgetDrawParms& parms) const
|
||||
|
||||
Reference in New Issue
Block a user