Decompile fn_18352 (SetSubChatWndList)
Batch #17764 by eAthena: 1 byte-identical, 0 confirmed by peer review. - fn_18352 SetSubChatWndList: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
86812e934b
commit
65d4ccb77b
1 changed files with 4 additions and 2 deletions
|
|
@ -39,6 +39,8 @@ extern "C" {
|
|||
#include <vector>
|
||||
#include <windows.h>
|
||||
|
||||
template __declspec(noinline) SubChatWndInfo& std::map<int, SubChatWndInfo>::operator[](int&&);
|
||||
|
||||
struct MiniMapPosition {
|
||||
MiniMapPosition() {
|
||||
}
|
||||
|
|
@ -121,10 +123,10 @@ int SetSubChatWndList(lua_State* state) {
|
|||
int index;
|
||||
if (type == "On") {
|
||||
index = static_cast<int>(g_session.m_noSubChatWnds.size());
|
||||
g_session.m_noSubChatWnds[index] = info;
|
||||
g_session.m_noSubChatWnds[static_cast<int>(g_session.m_noSubChatWnds.size())] = info;
|
||||
} else {
|
||||
index = static_cast<int>(g_session.m_subChatWnds.size());
|
||||
g_session.m_subChatWnds[index] = info;
|
||||
g_session.m_subChatWnds[static_cast<int>(g_session.m_subChatWnds.size())] = info;
|
||||
}
|
||||
|
||||
lua_pushnumber(state, index);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue