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:
ragnarok-clanker 2026-11-06 17:13:45 +00:00
commit b09ccb9608

View file

@ -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;