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
|
|
@ -1334,7 +1334,7 @@ int CSession::GetPetTargetAid() const {
|
|||
target = static_cast<CGameActor*>(actor)->hitTargetAid;
|
||||
}
|
||||
|
||||
aid = *reinterpret_cast<const std::uint32_t*>(&this->companionTargetState[8]);
|
||||
aid = this->m_mercenaryAid;
|
||||
if (aid != 0 && (mode = static_cast<CGameMode*>(g_modeMgr.GetGameMode())) != nullptr &&
|
||||
(actor = mode->scene->GetGameActorByAID(aid)) != nullptr) {
|
||||
target = static_cast<CGameActor*>(actor)->hitTargetAid;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue