Commit 6fad1276 authored by mercury233's avatar mercury233

Merge branch 'ai' into test

parents c7dcee0f 93baa1ea
......@@ -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