summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_obj_gaship2.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2024-04-25 12:36:12 -0400
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2024-04-25 12:36:12 -0400
commite235db537908cf03fcc6aefbb6c62bea148c48cd (patch)
treead4650570abcbf198bde6e5bbfd59f1d7966106a /src/d/actor/d_a_obj_gaship2.cpp
parentae0bc3ff9507a9b0bdbdf17e6a4ca0613cd66e6f (diff)
Use resource enums for all other old actors
Diffstat (limited to 'src/d/actor/d_a_obj_gaship2.cpp')
-rw-r--r--src/d/actor/d_a_obj_gaship2.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/d/actor/d_a_obj_gaship2.cpp b/src/d/actor/d_a_obj_gaship2.cpp
index 5a5e3b6b..50c132cf 100644
--- a/src/d/actor/d_a_obj_gaship2.cpp
+++ b/src/d/actor/d_a_obj_gaship2.cpp
@@ -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();