This commit is contained in:
robojumper
2025-09-13 11:51:16 +02:00
parent c52e38c1c5
commit 637419b21d
3 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -93,8 +93,8 @@ public:
return mpTagProcessor;
}
s32 getField_0x784() const {
return field_0x784;
s32 getMsgIdx() const {
return mMsgIdx;
}
u8 getField_0x80D() const {
@@ -166,7 +166,7 @@ private:
/* 0x778 */ s32 field_0x778;
/* 0x77C */ s32 field_0x77C;
/* 0x780 */ s32 field_0x780;
/* 0x784 */ s32 field_0x784;
/* 0x784 */ s32 mMsgIdx;
/* 0x788 */ u16 mEntryPointToTrigger;
/* 0x78A */ u16 mAlsoEntryPointToTrigger;
+2 -2
View File
@@ -1572,12 +1572,12 @@ void dTagProcessor_c::somethingWithScrapperAndMusic(wchar_t *src) {
if ((ac->profile_name >= fProfile::NPC_SLFB && ac->profile_name <= fProfile::NPC_SLFL) ||
(ac->profile_name >= fProfile::NPC_SLB && ac->profile_name <= fProfile::FLY_SLB) ||
ac->profile_name == fProfile::NPC_SLB2 || ac->profile_name == fProfile::NPC_DRBC) {
dSndPlayerMgr_c::GetInstance()->setMsgActor(dLytMsgWindow_c::getInstance()->getField_0x784(), ac);
dSndPlayerMgr_c::GetInstance()->setMsgActor(dLytMsgWindow_c::getInstance()->getMsgIdx(), ac);
return;
}
}
} else if (field_0x824 == 101) {
dSndPlayerMgr_c::GetInstance()->setMsgActor(dLytMsgWindow_c::getInstance()->getField_0x784(), nullptr);
dSndPlayerMgr_c::GetInstance()->setMsgActor(dLytMsgWindow_c::getInstance()->getMsgIdx(), nullptr);
}
}
+1 -1
View File
@@ -120,7 +120,7 @@ bool dLytMsgWindow_c::build() {
field_0x778 = 0;
field_0x77C = 0;
field_0x780 = 0;
field_0x784 = -1;
mMsgIdx = -1;
mAlsoEntryPointToTrigger = 0xFFFF;
mEntryPointToTrigger = 0xFFFF;