Searches thru all vclips for a specific name, returns -1 if not found or index of vclip with name
| 621 | // Searches thru all vclips for a specific name, returns -1 if not found |
| 622 | // or index of vclip with name |
| 623 | int FindVClipName(const char *name) { |
| 624 | int i; |
| 625 | |
| 626 | for (i = 0; i < MAX_VCLIPS; i++) |
| 627 | if (GameVClips[i].used && !stricmp(GameVClips[i].name, name)) |
| 628 | return i; |
| 629 | |
| 630 | return -1; |
| 631 | } |
no outgoing calls
no test coverage detected