summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_obj_Vteng.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_Vteng.cpp
parentae0bc3ff9507a9b0bdbdf17e6a4ca0613cd66e6f (diff)
Use resource enums for all other old actors
Diffstat (limited to 'src/d/actor/d_a_obj_Vteng.cpp')
-rw-r--r--src/d/actor/d_a_obj_Vteng.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/d/actor/d_a_obj_Vteng.cpp b/src/d/actor/d_a_obj_Vteng.cpp
index dbc8ea75..66b414b9 100644
--- a/src/d/actor/d_a_obj_Vteng.cpp
+++ b/src/d/actor/d_a_obj_Vteng.cpp
@@ -4,6 +4,7 @@
//
#include "d/actor/d_a_obj_Vteng.h"
+#include "d/res/res_vteng.h"
#include "f_op/f_op_actor_mng.h"
#include "JSystem/JUtility/JUTAssert.h"
#include "d/d_bg_w.h"
@@ -35,8 +36,8 @@ BOOL daObjVteng_c::solidHeapCB(fopAc_ac_c* i_this) {
bool daObjVteng_c::create_heap() {
bool ret = true;
- J3DModelData* pModelData = static_cast<J3DModelData*>(dComIfG_getObjectRes(l_arcname, 0x08));
- J3DAnmTransform * pAnm = (J3DAnmTransform *)dComIfG_getObjectRes(l_arcname, 0x05);
+ J3DModelData* pModelData = static_cast<J3DModelData*>(dComIfG_getObjectRes(l_arcname, VTENG_BDL_VTENG));
+ J3DAnmTransform * pAnm = (J3DAnmTransform *)dComIfG_getObjectRes(l_arcname, VTENG_BCK_VTENG);
if (!pModelData || !pAnm) {
JUT_ASSERT(0xb7, 0);
@@ -56,7 +57,7 @@ bool daObjVteng_c::create_heap() {
} else {
J3DModel * model = mpMorf->getModel();
mpModel = model;
- mpBgW = dBgW_NewSet((cBgD_t*)dComIfG_getObjectRes(l_arcname, 0x0B), cBgW::MOVE_BG_e, &mtx);
+ mpBgW = dBgW_NewSet((cBgD_t*)dComIfG_getObjectRes(l_arcname, VTENG_DZB_VTENG), cBgW::MOVE_BG_e, &mtx);
if (!mpBgW)
ret = false;
}