diff options
| author | TakaRikka <38417346+TakaRikka@users.noreply.github.com> | 2025-09-08 02:01:20 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-08 12:01:20 +0300 |
| commit | 52aa5f677f722f14f10298a3ebe1e355a4c26938 (patch) | |
| tree | 583eb03de69d9a2232be573fd4fe5f4e5380e417 /src/d/actor/d_a_e_gi.cpp | |
| parent | cbe5aaca8f2cb2e5046166b79a46de1e97f82730 (diff) | |
scannon / scannon_crs / scannon_ten done (#2632)
* scannon done
* scannon_crs done
* scannon_ten done
* pr
* attention debug stuff
* attn flags
* fix build
Diffstat (limited to 'src/d/actor/d_a_e_gi.cpp')
| -rw-r--r-- | src/d/actor/d_a_e_gi.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/d/actor/d_a_e_gi.cpp b/src/d/actor/d_a_e_gi.cpp index 534debbf9b..034dcf2f2f 100644 --- a/src/d/actor/d_a_e_gi.cpp +++ b/src/d/actor/d_a_e_gi.cpp @@ -813,7 +813,7 @@ void daE_GI_c::action() { damage_check(); u8 is_battle_on = FALSE; - attention_info.flags = 4; + attention_info.flags = fopAc_AttnFlag_BATTLE_e; switch (mActionMode) { case ACTION_SLEEP_e: @@ -844,11 +844,11 @@ void daE_GI_c::action() { mIsBattleOn = is_battle_on; mSound.setLinkSearch(is_battle_on); - if (attention_info.flags & 4) { + if (attention_info.flags & fopAc_AttnFlag_BATTLE_e) { dBgS_LinChk linecheck; linecheck.Set(&dComIfGp_getCamera(0)->lookat.eye, &attention_info.position, this); if (dComIfG_Bgsp().LineCross(&linecheck)) { - attention_info.flags &= ~0x4; + attention_info.flags &= ~fopAc_AttnFlag_BATTLE_e; } } @@ -1088,7 +1088,7 @@ int daE_GI_c::create() { l_HIO.id = mDoHIO_CREATE_CHILD("ギブド", &l_HIO); } - attention_info.flags = 4; + attention_info.flags = fopAc_AttnFlag_BATTLE_e; fopAcM_SetMtx(this, mpModelMorf->getModel()->getBaseTRMtx()); fopAcM_SetMin(this, -200.0f, -200.0f, -200.0f); fopAcM_SetMax(this, 200.0f, 200.0f, 200.0f); |
