MCPcopy Create free account
hub / github.com/assaultcube/AC / subeq

Function subeq

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

Source from the content-addressed store, hash-verified

1374
1375void addeq(char *name, int *arg) { modifyvar(name, *arg, '+'); } COMMANDN(+=, addeq, "si");
1376void subeq(char *name, int *arg) { modifyvar(name, *arg, '-'); } COMMANDN(-=, subeq, "si");
1377void muleq(char *name, int *arg) { modifyvar(name, *arg, '*'); } COMMANDN(*=, muleq, "si");
1378void diveq(char *name, int *arg) { modifyvar(name, *arg, '/'); } COMMANDN(div=, diveq, "si");
1379

Callers

nothing calls this directly

Calls 1

modifyvarFunction · 0.85

Tested by

no test coverage detected