From 15a48a051c21275662b833d46d44b4e690d535ce Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Mon, 5 Aug 2019 18:53:34 +0200 Subject: [PATCH] make the password field in charselect useful let the server decide what to do with this --- src/charselect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/charselect.cpp b/src/charselect.cpp index 4987cf5..846daff 100644 --- a/src/charselect.cpp +++ b/src/charselect.cpp @@ -135,7 +135,7 @@ void Courtroom::char_clicked(int n_char) } else { - ao_app->send_server_packet(new AOPacket("CC#" + QString::number(ao_app->s_pv) + "#" + QString::number(n_char) + "#" + get_hdid() + "#%")); + ao_app->send_server_packet(new AOPacket("CC#" + QString::number(ao_app->s_pv) + "#" + QString::number(n_char) + "#" + get_hdid() + "#" + ui_char_password->text() +"#%")); } ui_ic_chat_name->setPlaceholderText(char_list.at(n_char).name);