| 2788 | |
| 2789 | |
| 2790 | qboolean Script_IncrementFeeder(itemDef_t * item, const char ** args) |
| 2791 | { |
| 2792 | |
| 2793 | int feedercount = uiInfo.uiDC.feederCount(item->special); |
| 2794 | int value = GetCurrentFeederIndex(item); |
| 2795 | value++; |
| 2796 | if ( value >= feedercount) |
| 2797 | value = 0; |
| 2798 | DC->feederSelection(item->special, value, item); |
| 2799 | return qtrue; |
| 2800 | } |
| 2801 | |
| 2802 | qboolean Script_DecrementFeeder(itemDef_t * item, const char ** args) |
| 2803 | { |
nothing calls this directly
no test coverage detected