MCPcopy Index your code
hub / github.com/assaultcube/AC / add_

Function add_

source/src/command.cpp:1422–1427  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1420void diveqf(char *name, float *arg) { modifyfvar(name, *arg, '/'); } COMMANDN(div=f, diveqf, "sf");
1421
1422void add_(char **args, int numargs)
1423{
1424 int sum = 0;
1425 loopi(numargs) sum += ATOI(args[i]);
1426 intret(sum);
1427}
1428COMMANDN(+, add_, "v");
1429
1430void mul_(char **args, int numargs)

Callers

nothing calls this directly

Calls 2

intretFunction · 0.85
loopiFunction · 0.70

Tested by

no test coverage detected