Maintenance: [forced, user-approved] Family V1: remove the invented global g_luaScript and the session-as-script casts. 0x1738010 is

Batch #10269 by ragnarok-clanker: forced by an admin (2 lower score(s), 6 changed function(s)); checked with 102 compiled unit(s), including every includer of Source/Script/LuaScript.h.
This commit is contained in:
ragnarok-clanker 2026-11-03 14:40:29 +00:00
commit 2d55a137fc
44 changed files with 177 additions and 175 deletions

View file

@ -1,4 +1,5 @@
#include "Contents/EntryQueueMgr.h"
#include "Client/Session.h"
#include "Contents/MessageTable.h"
#include "Contents/Sound/SoundMgr.h"
@ -282,7 +283,7 @@ void CEntryQueueMgr::OnNotify(const EntryQueueNotice* notice) {
// INLINED
CEntryQueueMgr::CEntryQueueMgr() : current(nullptr), ready(0) {
std::memset(&this->queueName, 0, sizeof(this->queueName) + sizeof(this->characterName));
g_luaScript->Call("ReadEntryQueueList", "");
g_session.m_hotkeyScript->Call("ReadEntryQueueList", "");
}
// OFFSET: 0x00BA1DF0