d_a_player - Add cut type enum (#966)

Co-authored-by: ‎ ‎ ‎ <‎ ‎ ‎>
This commit is contained in:
123456789758
2026-05-01 01:12:52 -04:00
committed by GitHub
parent c56b902ed1
commit b46f2904d1
24 changed files with 176 additions and 127 deletions
+1 -1
View File
@@ -426,7 +426,7 @@ void daObj_Warpt_c::checkHitSE() {
case AT_TYPE_PGANON_SWORD:
daPy_py_c* player = (daPy_py_c*)dComIfGp_getPlayer(0);
s32 cutType = player->getCutType();
if (cutType != 8 && cutType != 9) {
if (cutType != daPy_py_c::CUT_TYPE_CUT_TURN && cutType != daPy_py_c::CUT_TYPE_CUT_ROLL) {
fopAcM_seStart(this, JA_SE_OBJ_COL_SWM_NSTPOT, 0);
daObj::HitEff_hibana(this, &mCyl1);
}