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:
parent
ba6ca37fa1
commit
2d55a137fc
44 changed files with 177 additions and 175 deletions
|
|
@ -22,7 +22,7 @@ UIWindow* UIWindowMgr::CreateLayoutWindow(int id) {
|
|||
int height = 0;
|
||||
int x = 0;
|
||||
int y = 0;
|
||||
if (!g_luaScript->Call("GetWindowInfo", "d>dddd", id, &width, &height, &x, &y)) {
|
||||
if (!g_session.m_hotkeyScript->Call("GetWindowInfo", "d>dddd", id, &width, &height, &x, &y)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue