fix: bots shoot at dead timer is ignored (bots should shoot some spare bullets toward just dead player).

fix: once again fixed chatter cycling.
add: prevent saving old format waypoint when more than 1024 nodes added.
ci: updated to gcc & mingw 10.2.
This commit is contained in:
ds 2020-10-22 14:40:24 +03:00
commit 27d12d0bbb
4 changed files with 46 additions and 36 deletions

View file

@ -474,6 +474,11 @@ int BotControl::cmdNodeSave () {
msg ("All nodes has been saved and written to disk (IGNORING QUALITY CONTROL).");
}
else if (strValue (option) == "old") {
if (graph.length () >= 1024) {
msg ("Unable to save POD-Bot Format waypoint file. Number of nodes exceeds 1024.");
return BotCommandResult::Handled;
}
graph.saveOldFormat ();
msg ("All nodes has been saved and written to disk (POD-Bot Format (.pwf)).");