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

Function fade_hook_reset

src/SB/Game/zEntPlayerBungeeState.cpp:740–755  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

738 return shared.hook->ent->model;
739 }
740 static void fade_hook_reset()
741 {
742 if ((shared.flags & 0x60) == 0)
743 {
744 return;
745 }
746
747 shared.flags &= ~0x60;
748 xModelInstance* hook = get_hook_model();
749 if (hook != NULL)
750 {
751 hook->Alpha = 1.0f;
752 hook->Flags &= 0xbfff;
753 hook->PipeFlags &= ~0x30;
754 }
755 }
756 static void fade_hook_out()
757 {
758 if (shared.flags & 0x40)

Callers

nothing calls this directly

Calls 1

get_hook_modelFunction · 0.85

Tested by

no test coverage detected