mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-19 13:24:12 -04:00
Started using resource enums for old actors
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
//
|
||||
|
||||
#include "d/actor/d_a_obj_cafelmp.h"
|
||||
#include "d/res/res_cafelmp.h"
|
||||
#include "f_op/f_op_actor_mng.h"
|
||||
#include "JSystem/JUtility/JUTAssert.h"
|
||||
#include "d/d_bg_w.h"
|
||||
@@ -19,7 +20,7 @@ static BOOL CheckCreateHeap(fopAc_ac_c* i_this) {
|
||||
|
||||
/* 00000098-0000015C .text CreateHeap__14daObjCafelmp_cFv */
|
||||
BOOL daObjCafelmp_c::CreateHeap() {
|
||||
J3DModelData* modelData = static_cast<J3DModelData*>(dComIfG_getObjectRes("Cafelmp", 0x03));
|
||||
J3DModelData* modelData = static_cast<J3DModelData*>(dComIfG_getObjectRes("Cafelmp", CAFELMP_BDL_YLAMP));
|
||||
JUT_ASSERT(0x51, modelData != 0);
|
||||
mpModel = mDoExt_J3DModel__create(modelData, 0x00, 0x11020203);
|
||||
if (!mpModel)
|
||||
|
||||
Reference in New Issue
Block a user