Skip to content

Commit

Permalink
PID cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
LagoLunatic committed Jun 6, 2024
1 parent bd5853c commit 90ce6f8
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion include/d/actor/d_a_auction.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class daAuction_c : public fopNpc_npc_c {
public:
/* 0x6C4 */ request_of_phase_process_class mPhs;
/* 0x6CC */ dNpc_EventCut_c mNpcEvtInfo;
/* 0x738 */ u32 m738[8];
/* 0x738 */ uint m738[8];
/* 0x758 */ uint mCurrAuctionItemPID;
/* 0x75C */ uint mTimerID;
/* 0x760 */ uint mGaugeID;
Expand Down
2 changes: 1 addition & 1 deletion include/d/actor/d_a_obj_eskban.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ namespace daObjEskban {
/* 0x320 */ dCcD_Cyl mCheckCyl;
/* 0x450 */ dCcD_Stts mCameraStts;
/* 0x48C */ dCcD_Cyl mCameraCyl;
/* 0x5BC */ u32 mActorID;
/* 0x5BC */ uint mActorID;
/* 0x5C0 */ dCcD_Stts mCheckSphStts;
/* 0x5FC */ dCcD_Sph mCheckSph;
/* 0x728 */ s32 mActorState;
Expand Down
2 changes: 1 addition & 1 deletion include/d/actor/d_a_player_main.h
Original file line number Diff line number Diff line change
Expand Up @@ -2104,7 +2104,7 @@ class daPy_lk_c : public daPy_py_c {
/* 0x3624 */ u32 m3624;
/* 0x3628 */ int m3628;
/* 0x362C */ uint mTactZevPartnerPID;
/* 0x3630 */ u32 m3630;
/* 0x3630 */ uint m3630;
/* 0x3634 */ int m3634;
/* 0x3638 */ int mMsgId;
/* 0x363C */ J3DFrameCtrl* mpSeAnmFrameCtrl;
Expand Down
2 changes: 1 addition & 1 deletion include/d/actor/d_a_tbox.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class daTbox_c : public fopAc_ac_c {
/* 0x328 */ mDoExt_brkAnm mTactPlatformBrk;
/* 0x340 */ ActionFunc mActionFunc;
/* 0x34C */ f32 mInvisibleScrollVal;
/* 0x350 */ u32 mStaffId;
/* 0x350 */ int mStaffId;
/* 0x354 */ Mtx mMtx;
/* 0x384 */ LIGHT_INFLUENCE mPLight;
/* 0x3A4 */ LIGHT_INFLUENCE mEfLight;
Expand Down
4 changes: 2 additions & 2 deletions src/d/actor/d_a_auction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ extern uint dAuction_screen_create();
/* 000000EC-000002FC .text __ct__11daAuction_cFv */
daAuction_c::daAuction_c() {
for (int i = 0; i < 8; i++) {
m738[i] = -1;
m738[i] = fpcM_ERROR_PROCESS_ID_e;
m80C[i] = i;
mAucMdlNo[i] = 0xFF;
}
Expand Down Expand Up @@ -373,7 +373,7 @@ BOOL daAuction_c::_execute() {
/* 00000B10-00000B44 .text executeWait__11daAuction_cFv */
void daAuction_c::executeWait() {
for (int i = 0; i < 8; i++) {
if (m738[i] == -1) {
if (m738[i] == fpcM_ERROR_PROCESS_ID_e) {
return;
}
}
Expand Down
3 changes: 2 additions & 1 deletion src/d/actor/d_a_obj_eskban.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,8 @@ int daObjEskban::Act_c::Execute(Mtx** pMtx) {
break;
}
cCcD_Obj* hitObj;
if (!(hitObj = mCameraCyl.GetCoHitObj())) {
hitObj = mCameraCyl.GetCoHitObj();
if (!hitObj) {
break;
}
fopAc_ac_c* hitAct = hitObj->GetAc();
Expand Down
2 changes: 1 addition & 1 deletion src/d/actor/d_a_player_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1130,7 +1130,7 @@ void daPy_lk_c::setActorPointer() {
if (m3630 != fpcM_ERROR_PROCESS_ID_e) {
fopAc_ac_c* sp8;
if (!fopAcM_SearchByID(m3630, &sp8)) {
m3630 = -1;
m3630 = fpcM_ERROR_PROCESS_ID_e;
}
}
}
Expand Down

0 comments on commit 90ce6f8

Please sign in to comment.