mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-02 00:03:54 -04:00
some J3D/misc cleanup (#2628)
* some j3d cleanup * begin using uintptr_t * j3dgraphbase cleanup * j3dgraphanimator cleanup
This commit is contained in:
@@ -556,7 +556,7 @@ BOOL daNpcAsh_c::CreateHeap() {
|
||||
for (u16 jointNo = 0; jointNo < modelData->getJointNum(); jointNo++) {
|
||||
modelData->getJointNodePointer(jointNo)->setCallBack(ctrlJointCallBack);
|
||||
}
|
||||
model->setUserArea((u32)this);
|
||||
model->setUserArea((uintptr_t)this);
|
||||
|
||||
mpMatAnm = new daNpcF_MatAnm_c();
|
||||
if (mpMatAnm == NULL) {
|
||||
@@ -1201,7 +1201,7 @@ bool daNpcAsh_c::demo(void* param_0) {
|
||||
if (staff_id != -1) {
|
||||
mStaffID = staff_id;
|
||||
s32 eventIdx = eventManager.getMyActIdx(staff_id, l_evtNames,
|
||||
ARRAY_SIZE(l_evtNames), 0, 0);
|
||||
ARRAY_SIZEU(l_evtNames), 0, 0);
|
||||
if (eventIdx >= 1 && eventIdx < 6) {
|
||||
mOrderEvtNo = eventIdx;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user