Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Source Main 5.2/source/NewUIGuildMakeWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,11 @@ void CNewUIGuildMakeWindow::ClosingProcess()
ChangeWindowState(GUILDMAKE_INFO);
ChangeEditBox(UISTATE_HIDE);

// Clear guild creation data to prevent persistence across character/server switches
memset(GuildMark[MARK_EDIT].Mark, 0, sizeof(GuildMark[MARK_EDIT].Mark));
memset(GuildMark[MARK_EDIT].GuildName, 0, sizeof(GuildMark[MARK_EDIT].GuildName));
SelectMarkColor = 0;

SocketClient->ToGameServer()->SendGuildMasterAnswer(false);
}

Expand Down