| 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) |
nothing calls this directly
no test coverage detected