diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2024-04-24 16:20:56 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2024-04-24 16:20:56 -0400 |
| commit | ae0bc3ff9507a9b0bdbdf17e6a4ca0613cd66e6f (patch) | |
| tree | 9debdf933d1582a5e177405e1604287f719f4814 /src/d/actor/d_a_obj_toripost.cpp | |
| parent | 0b75cd4ed722cbfd0cffeea398e3d634719d2276 (diff) | |
Started using resource enums for old actors
Diffstat (limited to 'src/d/actor/d_a_obj_toripost.cpp')
| -rw-r--r-- | src/d/actor/d_a_obj_toripost.cpp | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/d/actor/d_a_obj_toripost.cpp b/src/d/actor/d_a_obj_toripost.cpp index 4418b8e2..8dd1f0f3 100644 --- a/src/d/actor/d_a_obj_toripost.cpp +++ b/src/d/actor/d_a_obj_toripost.cpp @@ -4,6 +4,7 @@ */ #include "d/actor/d_a_obj_toripost.h" +#include "d/res/res_toripost.h" #include "JSystem/JUtility/JUTAssert.h" #include "f_op/f_op_actor_mng.h" #include "d/actor/d_a_player.h" @@ -87,10 +88,18 @@ static BOOL createHeap_CB(fopAc_ac_c* i_this) { /* 0000010C-0000022C .text _createHeap__12daObjTpost_cFv */ BOOL daObjTpost_c::_createHeap() { - J3DModelData* modelData = (J3DModelData*)dComIfG_getObjectRes(m_arc_name, 9); + J3DModelData* modelData = (J3DModelData*)dComIfG_getObjectRes(m_arc_name, TORIPOST_BDL_VPOST); JUT_ASSERT(132, modelData != 0); - mMorf = new mDoExt_McaMorf(modelData, 0, 0, 0, -1, 1.0f, 0, -1, 1, 0, 0x80000, 0x11000022); + mMorf = new mDoExt_McaMorf( + modelData, + NULL, NULL, + NULL, + -1, 1.0f, 0, -1, 1, + NULL, + 0x00080000, + 0x11000022 + ); if(mMorf == NULL || mMorf->getModel() == NULL) { return FALSE; |
