summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_peru.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-11-10 21:25:00 -0500
committerGitHub <noreply@github.com>2025-11-10 18:25:00 -0800
commit23a1c940630435eaa0bbca45fb24156fc0d3db62 (patch)
treec2b05e860562425bd3147046e19bcf8130ad4625 /src/d/actor/d_a_peru.cpp
parenta02f72d8f3a87a2d2ddde062301d3639050e1e35 (diff)
Regalloc/debug/misc fixes (#2794)
* Fix "0" asserts * More debug and regalloc fixes * Fix PTMF syntax for compatibility with other compilers * Fix some fakematches, link more TUs for J/P
Diffstat (limited to 'src/d/actor/d_a_peru.cpp')
-rw-r--r--src/d/actor/d_a_peru.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/d/actor/d_a_peru.cpp b/src/d/actor/d_a_peru.cpp
index 4b96a22787..b766e0b8ab 100644
--- a/src/d/actor/d_a_peru.cpp
+++ b/src/d/actor/d_a_peru.cpp
@@ -810,7 +810,7 @@ int daPeru_c::demo_walk_to_link(int param_0) {
fopAc_ac_c* actor = mActors[2].getActorP();
if (actor == NULL) {
OS_REPORT("-----there is no player!!\n");
- JUT_PANIC(1948, 0);
+ JUT_ASSERT(1948, FALSE);
}
cLib_chaseAngleS(&mCurAngle.y, fopAcM_searchActorAngleY(this, actor), 0x800);
current.angle.y = mCurAngle.y;
@@ -1013,7 +1013,7 @@ int daPeru_c::_cutAppear_Init(int const& param_1) {
if (fopAcM_SearchByName(PROC_MIDNA, &midna) != 0) {
if (midna == NULL) {
OS_REPORT("---- there is no midna!!\n");
- JUT_PANIC(2446, 0);
+ JUT_ASSERT(2446, FALSE);
} else {
mJntAnm.lookActor(midna, 0.0, 0);
}
@@ -1184,7 +1184,7 @@ void daPeru_c::_catdoor_open() {
daObjCatDoor_c* pCatDoor = (daObjCatDoor_c*)mActors[1].getActorP();
if (pCatDoor == NULL) {
OS_REPORT("---- there is no catdoor!! ----!!\n");
- JUT_PANIC(2799, 0);
+ JUT_ASSERT(2799, FALSE);
} else {
pCatDoor->setDoorOpen();
}
@@ -1196,7 +1196,7 @@ void daPeru_c::_catdoor_open_demoskip() {
daObjCatDoor_c* pCatDoor = (daObjCatDoor_c*)mActors[1].getActorP();
if (pCatDoor == NULL) {
OS_REPORT("---- there is no catdoor!! ----!!\n");
- JUT_PANIC(2829, 0);
+ JUT_ASSERT(2829, FALSE);
} else {
pCatDoor->_toDoorOpened();
}