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:
ragnarok-clanker 2026-11-12 17:52:20 +00:00
commit 6c543574c3
12 changed files with 38 additions and 38 deletions

View file

@ -3005,8 +3005,8 @@ void CSession::Init() {
this->homunAlive = 0;
this->m_traceAi = 0;
this->m_homunActionState = 0;
*reinterpret_cast<int*>(&this->companionTargetState[0x00]) = 0;
*reinterpret_cast<int*>(&this->companionTargetState[0x04]) = 0;
this->m_homunHungerNotified = 0;
this->m_homunAttackRange = 0;
this->moveHomunEnemy = 0;
this->selectHomunEnemy = 0;
this->attackHomunEnemy = 0;
@ -3100,7 +3100,7 @@ void CSession::Init() {
this->m_currentHotkey = 0;
this->petGid = 0xFFFFFFFF;
*reinterpret_cast<int*>(&this->spAndHomunculusStats[0x08]) = -1;
*reinterpret_cast<int*>(&this->companionTargetState[0x08]) = -1;
this->m_mercenaryAid = -1;
this->m_guildMemberListSort = true;
this->m_blockPrivateTab = false;
this->swapEquipmentFlag[0] = 0;