mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-19 21:33:07 -04:00
Use resource enums for all other old actors
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
//
|
||||
|
||||
#include "d/actor/d_a_obj_gaship2.h"
|
||||
#include "d/res/res_yakerom.h"
|
||||
#include "SSystem/SComponent/c_bg_w.h"
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "d/d_bg_s_movebg_actor.h"
|
||||
@@ -22,12 +23,12 @@ bool daObjGaship2::Act_c::create_heap() {
|
||||
J3DModelData *mdl_data;
|
||||
cBgD_t *bgw_data;
|
||||
|
||||
mdl_data = (J3DModelData *) (dComIfG_getObjectRes(M_arcname, 4));
|
||||
mdl_data = (J3DModelData *) (dComIfG_getObjectRes(M_arcname, YAKEROM_BDL_YAKEROM));
|
||||
JUT_ASSERT(0x5A, mdl_data != 0);
|
||||
|
||||
mpModel = mDoExt_J3DModel__create(mdl_data, 0, 0x11000002);
|
||||
set_mtx();
|
||||
bgw_data = (cBgD_t *) (dComIfG_getObjectRes(M_arcname, 7));
|
||||
bgw_data = (cBgD_t *) (dComIfG_getObjectRes(M_arcname, YAKEROM_DZB_YAKEROM));
|
||||
JUT_ASSERT(0x67, bgw_data != 0);
|
||||
if (bgw_data != NULL) {
|
||||
mpBgW = new dBgW();
|
||||
|
||||
Reference in New Issue
Block a user