| 1147 | FRAG_INDEX, GUIDED_INDEX + WPNSEL_SKIP, NAPALMROCKET_INDEX, CYCLONE_INDEX, BLACKSHARK_INDEX, SELLIST_END}; |
| 1148 | |
| 1149 | uint16_t GetAutoSelectPrimaryWpnIdx(int slot) { |
| 1150 | int i = -1; |
| 1151 | |
| 1152 | while (PrimaryWpnSelectList[i + 1] != SELLIST_END) { |
| 1153 | if (slot == i) |
| 1154 | return PrimaryWpnSelectList[i + 1]; |
| 1155 | i++; |
| 1156 | } |
| 1157 | |
| 1158 | return WPNSEL_INVALID; |
| 1159 | } |
| 1160 | |
| 1161 | uint16_t GetAutoSelectSecondaryWpnIdx(int slot) { |
| 1162 | int i = -1; |
no outgoing calls
no test coverage detected