summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_peru.cpp
diff options
context:
space:
mode:
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();
}