Maintenance: Forced (approved by the maintainer: small score loss accepted for correct behaviour). Resubmission of 13479. CSession+0x

Batch #13484 by ragnarok-clanker: forced by an admin (1 lower score(s), 3 changed function(s)); checked with 266 compiled unit(s), including every includer of Source/Client/Session.h.
This commit is contained in:
ragnarok-clanker 2026-11-06 19:10:41 +00:00
commit bf22aa5b62
7 changed files with 31 additions and 17 deletions

View file

@ -3160,7 +3160,7 @@ void CSession::ResetCharacterState() {
std::memset(&this->unknown_07F4[0x40], 0, 0x660);
this->unknown_5C1C = 0;
std::map<int, int>& traitStats = reinterpret_cast<std::map<int, int>&>(this->unknown_7FC0);
std::map<int, int>& traitStats = this->m_traits.stats;
traitStats[0xE7] = 0;
traitStats[0xDB] = 0;
traitStats[0xDC] = 0;
@ -4662,6 +4662,11 @@ EncryptedName<13, 0x4B670715D543C1C3ULL>& DruidRidingName();
EncryptedName<14, 0x7155E5EF0DFB0D03ULL>& KarnosRidingName();
EncryptedName<14, 0x4B1D078937DB892BULL>& AliteaRidingName();
// OFFSET: 0x00DC2710
// FUNCTION: fn_22757
SessionTraits::SessionTraits() {
}
// OFFSET: 0x00DC2B20
// FUNCTION: fn_22763
CSession::CSession() {