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

Function fade_hook_in

src/SB/Game/zEntPlayerBungeeState.cpp:772–787  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

770 }
771 }
772 static void fade_hook_in()
773 {
774 if (shared.flags & 0x20)
775 {
776 return;
777 }
778
779 shared.flags &= ~0x60;
780 xModelInstance* hook = get_hook_model();
781 if (hook != NULL)
782 {
783 hook->Flags |= 0x4000;
784 hook->PipeFlags = hook->PipeFlags & ~0x30 | 0x30;
785 shared.flags |= 0x20;
786 }
787 }
788 static void fade_hook_update(float dt)
789 {
790 if ((shared.flags & 0x60) == 0)

Callers

nothing calls this directly

Calls 1

get_hook_modelFunction · 0.85

Tested by

no test coverage detected