mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-17 21:03:35 -04:00
Process IDs cleanup
* Use fpcM_ERROR_PROCESS_ID_e enum instead of literal -1/0xFFFFFFFF everywhere * Disambiguate variable names by using itemNo/msgNo instead of itemID/msgID
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
//
|
||||
|
||||
#include "SSystem/SComponent/c_bg_s_chk.h"
|
||||
#include "dolphin/types.h"
|
||||
#include "f_pc/f_pc_manager.h"
|
||||
|
||||
/* 80247304-8024734C .text __dt__8cBgS_ChkFv */
|
||||
cBgS_Chk::~cBgS_Chk() {
|
||||
@@ -12,7 +12,7 @@ cBgS_Chk::~cBgS_Chk() {
|
||||
|
||||
/* 8024734C-8024738C .text ChkSameActorPid__8cBgS_ChkCFUi */
|
||||
bool cBgS_Chk::ChkSameActorPid(unsigned int pid) const {
|
||||
if (mActorPid == -1 || pid == UINT32_MAX || unk_0x0C == 0) {
|
||||
if (mActorPid == fpcM_ERROR_PROCESS_ID_e || pid == UINT32_MAX || unk_0x0C == 0) {
|
||||
return 0;
|
||||
} else {
|
||||
return (mActorPid == pid) ? 1 : 0;
|
||||
|
||||
Reference in New Issue
Block a user