mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-16 04:23:53 -04:00
some J3D/misc cleanup (#2628)
* some j3d cleanup * begin using uintptr_t * j3dgraphbase cleanup * j3dgraphanimator cleanup
This commit is contained in:
@@ -1166,7 +1166,7 @@ int daE_HP_c::CreateHeap() {
|
||||
}
|
||||
|
||||
model = mpMorfSO->getModel();
|
||||
model->setUserArea((u32)this);
|
||||
model->setUserArea((uintptr_t)this);
|
||||
|
||||
for (u16 i = 0; i < model->getModelData()->getJointNum(); i++) {
|
||||
if (i != 0) {
|
||||
@@ -1182,7 +1182,7 @@ int daE_HP_c::CreateHeap() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
mpModel->setUserArea((u32)this);
|
||||
mpModel->setUserArea((uintptr_t)this);
|
||||
for (u16 i = 0; i < mpModel->getModelData()->getJointNum(); i++) {
|
||||
if (i != 0) {
|
||||
mpModel->getModelData()->getJointNodePointer(i)->setCallBack(LampJointCallBack);
|
||||
|
||||
Reference in New Issue
Block a user