MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / fade_hook_out

Function fade_hook_out

src/SB/Game/zEntPlayerBungeeState.cpp:756–771  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

754 }
755 }
756 static void fade_hook_out()
757 {
758 if (shared.flags & 0x40)
759 {
760 return;
761 }
762
763 shared.flags &= ~0x60;
764 xModelInstance* hook = get_hook_model();
765 if (hook != NULL)
766 {
767 hook->Flags |= 0x4000;
768 hook->PipeFlags = hook->PipeFlags & ~0x30 | 0x30;
769 shared.flags |= 0x40;
770 }
771 }
772 static void fade_hook_in()
773 {
774 if (shared.flags & 0x20)

Callers 1

startFunction · 0.85

Calls 1

get_hook_modelFunction · 0.85

Tested by

no test coverage detected