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_bwdg.cpp | |
| parent | 0b75cd4ed722cbfd0cffeea398e3d634719d2276 (diff) | |
Started using resource enums for old actors
Diffstat (limited to 'src/d/actor/d_a_bwdg.cpp')
| -rw-r--r-- | src/d/actor/d_a_bwdg.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/d/actor/d_a_bwdg.cpp b/src/d/actor/d_a_bwdg.cpp index a1aaeeac..969ea0dc 100644 --- a/src/d/actor/d_a_bwdg.cpp +++ b/src/d/actor/d_a_bwdg.cpp @@ -4,6 +4,7 @@ // #include "d/actor/d_a_bwdg.h" +#include "d/res/res_bwdg.h" #include "d/d_bg_w_hf.h" #include "d/d_com_inf_game.h" #include "d/d_procname.h" @@ -216,8 +217,8 @@ static BOOL useHeapInit(fopAc_ac_c* i_actor) { return FALSE; } - u16* r30 = (u16*)dComIfG_getObjectRes("Bwdg", 4); - cBgD_t* r3 = (cBgD_t*)dComIfG_getObjectRes("Bwdg", 7); + u16* r30 = (u16*)dComIfG_getObjectRes("Bwdg", BWDG_DAT_GRIDIDX); + cBgD_t* r3 = (cBgD_t*)dComIfG_getObjectRes("Bwdg", BWDG_DZB_HSAND1); if (!i_this->mpBgW->Set(r3, r30, 130.0f, 0x40, 0x40, 0)) { return TRUE; } else { |
