Maintenance: CSession 0x5620 companionTargetState[0xC] split into int m_homunHungerNotified (0x5620), int m_homunAttackRange (0x5624)
Batch #18678 by ragnarok-clanker: no function's compiled code changes; checked with 277 compiled unit(s), including every includer of Source/Client/Session/Session.h.
This commit is contained in:
parent
dcc8218012
commit
6c543574c3
12 changed files with 38 additions and 38 deletions
|
|
@ -100,7 +100,7 @@ int CSession::IsMercenaryAid(std::uint32_t aid) const {
|
|||
if (aid == 0xFFFFFFFF) {
|
||||
return false;
|
||||
}
|
||||
return aid == *reinterpret_cast<const std::uint32_t*>(&this->companionTargetState[8]);
|
||||
return aid == this->m_mercenaryAid;
|
||||
}
|
||||
|
||||
// OFFSET: 0x00E1DE30
|
||||
|
|
@ -110,7 +110,7 @@ int CSession::IsCompanionAid(std::uint32_t aid) const {
|
|||
return 0;
|
||||
}
|
||||
if (aid == *reinterpret_cast<const std::uint32_t*>(&this->spAndHomunculusStats[8]) ||
|
||||
aid == *reinterpret_cast<const std::uint32_t*>(&this->companionTargetState[8]) || aid == this->petGid ||
|
||||
aid == this->m_mercenaryAid || aid == this->petGid ||
|
||||
aid == static_cast<std::uint32_t>(this->elementalGid)) {
|
||||
return 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue