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

Function addf_

source/src/command.cpp:1439–1444  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1437COMMANDN(*, mul_, "v");
1438
1439void addf_(char **args, int numargs)
1440{
1441 float sum = 0;
1442 loopi(numargs) sum += atof(args[i]);
1443 floatret(sum);
1444}
1445COMMANDN(+f, addf_, "v");
1446
1447void mulf_(char **args, int numargs)

Callers

nothing calls this directly

Calls 2

floatretFunction · 0.85
loopiFunction · 0.70

Tested by

no test coverage detected