mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-21 06:52:22 -04:00
d_a_b_yo and d_a_b_yo_ice mostly OK (#2219)
This commit is contained in:
@@ -7,9 +7,9 @@
|
||||
|
||||
/* 80267B4C-80267B70 26248C 0024+00 0/0 7/7 0/0 .text __ct__8cBgS_ChkFv */
|
||||
cBgS_Chk::cBgS_Chk() {
|
||||
mPolyPassChk = 0;
|
||||
mGrpPassChk = 0;
|
||||
unk_0x0C = 1;
|
||||
mPolyPassChk = NULL;
|
||||
mGrpPassChk = NULL;
|
||||
mSameActorChk = true;
|
||||
}
|
||||
|
||||
/* 80267B70-80267BB8 2624B0 0048+00 1/0 7/7 0/0 .text __dt__8cBgS_ChkFv */
|
||||
@@ -20,12 +20,12 @@ void cBgS_Chk::SetExtChk(cBgS_Chk& other) {
|
||||
mPolyPassChk = other.mPolyPassChk;
|
||||
mGrpPassChk = other.mGrpPassChk;
|
||||
mActorPid = other.mActorPid;
|
||||
unk_0x0C = other.unk_0x0C;
|
||||
mSameActorChk = other.mSameActorChk;
|
||||
}
|
||||
|
||||
/* 80267BDC-80267C1C 26251C 0040+00 0/0 7/7 0/0 .text ChkSameActorPid__8cBgS_ChkCFUi */
|
||||
bool cBgS_Chk::ChkSameActorPid(unsigned int pid) const {
|
||||
if (mActorPid == -1 || pid == UINT32_MAX || unk_0x0C == 0) {
|
||||
if (mActorPid == -1 || pid == UINT32_MAX || !mSameActorChk) {
|
||||
return FALSE;
|
||||
} else {
|
||||
return (mActorPid == pid) ? TRUE : FALSE;
|
||||
|
||||
Reference in New Issue
Block a user