Commit 5d83e80a authored by mercury233's avatar mercury233 Committed by Momobako

Merge branch 'ai' into test

parent 1002ef59
......@@ -275,7 +275,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