MCPcopy Create free account
hub / github.com/ClassiCube/ClassiCube / HS_GetSpeed

Function HS_GetSpeed

src/MenuOptions.c:978–978  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

976}
977
978static void HS_GetSpeed(cc_string* v) { String_AppendFloat(v, Entities.CurPlayer->Hacks.SpeedMultiplier, 2); }
979static void HS_SetSpeed(const cc_string* v) {
980 Entities.CurPlayer->Hacks.SpeedMultiplier = Menu_Float(v);
981 Options_Set(OPT_SPEED_FACTOR, v);

Callers

nothing calls this directly

Calls 1

String_AppendFloatFunction · 0.85

Tested by

no test coverage detected