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

Function muleq

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

Source from the content-addressed store, hash-verified

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
1380void modifyfvar(const char *name, float arg, char op)

Callers

nothing calls this directly

Calls 1

modifyvarFunction · 0.85

Tested by

no test coverage detected