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

Function HacksComp_SetFlying

src/EntityComponents.c:252–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

250}
251
252void HacksComp_SetFlying(struct HacksComp* hacks, cc_bool flying) {
253 if (hacks->Flying == flying) return;
254 hacks->Flying = flying;
255 Event_RaiseVoid(&UserEvents.HacksStateChanged);
256}
257
258void HacksComp_SetNoclip(struct HacksComp* hacks, cc_bool noclip) {
259 if (hacks->Noclip == noclip) return;

Callers 2

LocalPlayer_HandleFlyFunction · 0.85
HacksComp_UpdateFunction · 0.85

Calls 1

Event_RaiseVoidFunction · 0.85

Tested by

no test coverage detected