(String path, int musthave, int canthave)
| 192 | |
| 193 | // ok. |
| 194 | public static File FindFirst(String path, int musthave, int canthave) { |
| 195 | |
| 196 | if (fdir != null) |
| 197 | Sys.Error("Sys_BeginFind without close"); |
| 198 | |
| 199 | // COM_FilePath (path, findbase); |
| 200 | |
| 201 | fdir = FindAll(path, canthave, musthave); |
| 202 | fileindex = 0; |
| 203 | |
| 204 | if (fdir == null) |
| 205 | return null; |
| 206 | |
| 207 | return FindNext(); |
| 208 | } |
| 209 | |
| 210 | public static File FindNext() { |
| 211 |
no test coverage detected