Maintenance: [forced, user-approved] Family G8: type CSession +0x61A8/+0x61AC (replaces G7's *(int*)unknown_61A8_0000 cast). Original
Batch #10203 by ragnarok-clanker: forced by an admin (0 lower score(s), 0 changed function(s)); checked with 214 compiled unit(s), including every includer of Source/Client/Session.h.
This commit is contained in:
parent
ae35da0248
commit
09f4285a2e
5 changed files with 7 additions and 6 deletions
|
|
@ -89,7 +89,7 @@ void AutomaticSkills::Use(std::int16_t id, std::int16_t level, std::uint32_t tar
|
|||
Cancel(id);
|
||||
g_session.SetOption(cancel, 0, 0);
|
||||
} else {
|
||||
g_session.unknown_61A4 = *reinterpret_cast<int*>(g_session.unknown_61A8_0000);
|
||||
g_session.unknown_61A4 = g_session.m_currentHotkey;
|
||||
g_session.SetOption(ActiveOption(id), 1, 0);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue