Fixed compiling and removed c++14 dependencies.

This commit is contained in:
Dmitry 2019-05-07 16:23:15 +03:00 committed by jeefo
commit 83cf81cbca
2 changed files with 10 additions and 12 deletions

View file

@ -361,7 +361,7 @@ int handleBotCommands (edict_t *ent, const char *arg0, const char *arg1, const c
for (int i = 0; i < waypoints.length (); i++) {
totalCleared += waypoints.removeUselessConnections (i, true);
}
engine.print ("Done. Processed %d waypoints. %d useless paths cleared.", totalCleared);
engine.print ("Done. Processed %d waypoints. %d useless paths cleared.", waypoints.length (), totalCleared);
}
else {
int clearIndex = atoi (arg2), totalCleared = 0;