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
|
|
@ -1440,7 +1440,7 @@ bool UIWindowMgr::ProcessKeyDown(int key, int keyData, int pressed) {
|
|||
}
|
||||
}
|
||||
|
||||
int& lastKey = *reinterpret_cast<int*>(g_session.unknown_61A8_0000);
|
||||
int& lastKey = g_session.m_currentHotkey;
|
||||
if (lastKey != key) {
|
||||
if (pressed == 0) {
|
||||
return this->ProcessHotkeyAction(key, pressed);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue