| 819 | /////////////////////////////////////////// |
| 820 | |
| 821 | void input_hand_material(handed_ hand, material_t material) { |
| 822 | if (hand == handed_max) { |
| 823 | input_hand_material(handed_left, material); |
| 824 | input_hand_material(handed_right, material); |
| 825 | return; |
| 826 | } |
| 827 | |
| 828 | material_release(hand_state[hand].material); |
| 829 | |
| 830 | if (material != nullptr) |
| 831 | material_addref(material); |
| 832 | |
| 833 | hand_state[hand].material = material; |
| 834 | } |
| 835 | |
| 836 | } // namespace sk |
nothing calls this directly
no test coverage detected