Commit 7789a96d authored by nanahira's avatar nanahira

increase

parent fcbcbc2c
...@@ -2108,6 +2108,7 @@ void Game::CloseDuelWindow() { ...@@ -2108,6 +2108,7 @@ void Game::CloseDuelWindow() {
logParam.clear(); logParam.clear();
lstHostList->clear(); lstHostList->clear();
DuelClient::hosts.clear(); DuelClient::hosts.clear();
DuelClient::hosts_srvpro.clear();
ClearTextures(); ClearTextures();
ResizeChatInputWindow(); ResizeChatInputWindow();
closeDoneSignal.Set(); closeDoneSignal.Set();
......
...@@ -499,7 +499,7 @@ bool MenuHandler::OnEvent(const irr::SEvent& event) { ...@@ -499,7 +499,7 @@ bool MenuHandler::OnEvent(const irr::SEvent& event) {
} }
int addr = DuelClient::hosts[sel].ipaddr; int addr = DuelClient::hosts[sel].ipaddr;
int port = DuelClient::hosts[sel].port; int port = DuelClient::hosts[sel].port;
wchar_t buf[20]; wchar_t buf[22];
myswprintf(buf, L"%d.%d.%d.%d:%d", addr & 0xff, (addr >> 8) & 0xff, (addr >> 16) & 0xff, (addr >> 24) & 0xff, port); myswprintf(buf, L"%d.%d.%d.%d:%d", addr & 0xff, (addr >> 8) & 0xff, (addr >> 16) & 0xff, (addr >> 24) & 0xff, port);
mainGame->ebJoinHost->setText(buf); mainGame->ebJoinHost->setText(buf);
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment