summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_ghostship.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2024-03-11 19:03:47 -0400
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2024-03-11 19:03:47 -0400
commit0dd3f6e47cd372bdf7ea1ea2313bfad80ee4eafe (patch)
treef86b73a1401905cde8f58195315365b374ca2db8 /src/d/actor/d_a_ghostship.cpp
parentd0e8844b4bce31b72e38c10c3467f23ac69e4072 (diff)
Standardize process ID type to be uint
Diffstat (limited to 'src/d/actor/d_a_ghostship.cpp')
-rw-r--r--src/d/actor/d_a_ghostship.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/d/actor/d_a_ghostship.cpp b/src/d/actor/d_a_ghostship.cpp
index f410e311..fb191a17 100644
--- a/src/d/actor/d_a_ghostship.cpp
+++ b/src/d/actor/d_a_ghostship.cpp
@@ -148,7 +148,7 @@ void daGhostship_c::modePathMoveInit() {
/* 0000077C-000007D0 .text modePathMove__13daGhostship_cFv */
void daGhostship_c::modePathMove() {
- if(pathId != 0xFF) {
+ if(mPathNo != 0xFF) {
mPathSpeed = 10.0f;
pathMove();
}
@@ -209,8 +209,8 @@ void daGhostship_c::createInit() {
dLib_setCirclePath(&mPaths[i]);
}
- if(pathId != 0xFF) {
- mPath = dPath_GetRoomPath(pathId, fopAcM_GetRoomNo(this));
+ if(mPathNo != 0xFF) {
+ mPath = dPath_GetRoomPath(mPathNo, fopAcM_GetRoomNo(this));
modePathMoveInit();
}
else {
@@ -246,7 +246,7 @@ void daGhostship_c::createInit() {
/* 00000C78-00000C8C .text getArg__13daGhostship_cFv */
void daGhostship_c::getArg() {
u32 param = fopAcM_GetParam(this);
- pathId = fopAcM_GetParamBit(param, 0x10, 8);
+ mPathNo = fopAcM_GetParamBit(param, 0x10, 8);
moonPhase = fopAcM_GetParamBit(param, 0, 8);
}