Commit 93baa1ea authored by mercury233's avatar mercury233

fix

parent 5a06dc86
......@@ -270,7 +270,7 @@ bool MenuHandler::OnEvent(const irr::SEvent& event) {
flag += (mainGame->chkBotHand->isChecked() ? 0x1 : 0);
char arg2[8];
sprintf(arg2, "%d", flag);
char arg3[5];
char arg3[8];
sprintf(arg3, "%d", mainGame->gameConf.serverport);
execl("./bot", "bot", arg1, arg2, arg3, NULL);
exit(0);
......
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