| 893 | } |
| 894 | |
| 895 | bool oob_state::render() |
| 896 | { |
| 897 | if ((shared.flags & 0x3) != 3) |
| 898 | { |
| 899 | return false; |
| 900 | } |
| 901 | |
| 902 | if (!shared.control) |
| 903 | { |
| 904 | return false; |
| 905 | } |
| 906 | |
| 907 | xLightKit_Enable(globals.player.ent.lightKit, globals.currWorld); |
| 908 | xEntRender(&globals.player.ent); |
| 909 | xLightKit_Enable(NULL, globals.currWorld); |
| 910 | |
| 911 | return true; |
| 912 | } |
| 913 | |
| 914 | void oob_state::fx_render() |
| 915 | { |
nothing calls this directly
no test coverage detected