mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-17 20:43:07 -04:00
some J3D/misc cleanup (#2628)
* some j3d cleanup * begin using uintptr_t * j3dgraphbase cleanup * j3dgraphanimator cleanup
This commit is contained in:
@@ -4637,7 +4637,7 @@ static int useHeapInit(fopAc_ac_c* a_this) {
|
||||
}
|
||||
|
||||
J3DModel* model = i_this->mpModelMorf->getModel();
|
||||
model->setUserArea((u32)i_this);
|
||||
model->setUserArea((uintptr_t)i_this);
|
||||
|
||||
for (u16 i = 0; i < model->getModelData()->getJointNum(); i++) {
|
||||
model->getModelData()->getJointNodePointer(i)->setCallBack(nodeCallBack);
|
||||
@@ -4734,7 +4734,7 @@ static int useHeapInit(fopAc_ac_c* a_this) {
|
||||
}
|
||||
|
||||
model = i_this->mpHorseMorf->getModel();
|
||||
model->setUserArea((u32)a_this);
|
||||
model->setUserArea((uintptr_t)a_this);
|
||||
for (u16 i = 0; i < model->getModelData()->getJointNum(); i++) {
|
||||
model->getModelData()->getJointNodePointer(i)->setCallBack(h_nodeCallBack);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user