Decompile fn_18353 (SetSubChatWndOption)
Batch #13453 by SapitoSucio: 1 byte-identical, 0 confirmed by peer review. - fn_18353 SetSubChatWndOption: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
7257e48214
commit
b09ccb9608
1 changed files with 1 additions and 1 deletions
|
|
@ -141,7 +141,7 @@ int SetSubChatWndOption(lua_State* state) {
|
|||
const int option = static_cast<int>(luaL_checknumber(state, 3));
|
||||
const int value = static_cast<int>(luaL_checknumber(state, 4));
|
||||
|
||||
if (type == "No") {
|
||||
if (type == "On") {
|
||||
const auto window = g_session.m_noSubChatWnds.find(index);
|
||||
if (window != g_session.m_noSubChatWnds.end()) {
|
||||
window->second.options[option - 1] = value != 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue