Return index of generic that has matching table entry
| 6636 | |
| 6637 | // Return index of generic that has matching table entry |
| 6638 | int MultiMatchWeapon(uint32_t unique_id) { |
| 6639 | for (int i = 0; i < MAX_WEAPONS; i++) |
| 6640 | if (Multi_weapon_match_table[i] == unique_id) |
| 6641 | return i; |
| 6642 | |
| 6643 | return -1; |
| 6644 | } |
| 6645 | |
| 6646 | // Builds the tables for uniquely identifying powerups and robots |
| 6647 | void MultiBuildMatchTables() { |
no outgoing calls
no test coverage detected