| 2800 | } |
| 2801 | |
| 2802 | qboolean Script_DecrementFeeder(itemDef_t * item, const char ** args) |
| 2803 | { |
| 2804 | |
| 2805 | int feedercount = uiInfo.uiDC.feederCount(item->special); |
| 2806 | int value = GetCurrentFeederIndex(item); |
| 2807 | value--; |
| 2808 | if ( value < 0) |
| 2809 | value = feedercount-1; |
| 2810 | DC->feederSelection(item->special, value, item); |
| 2811 | return qtrue; |
| 2812 | } |
| 2813 | |
| 2814 | |
| 2815 | /* |
nothing calls this directly
no test coverage detected