| 1029 | GFileBanks.Delete(i); |
| 1030 | } |
| 1031 | else |
| 1032 | { |
| 1033 | i++; |
| 1034 | } |
| 1035 | } |
| 1036 | |
| 1037 | // extract island name |
| 1038 | const char* ext = strrchr(filename, '.'); |
| 1039 | if (!ext) |
| 1040 | { |
| 1041 | return ""; |
| 1042 | } |
| 1043 | RString island = ext + 1; |
| 1044 | |
| 1045 | // prefer mod directory PBO over base game |
| 1046 | FindMissionPboContext ctx; |
| 1047 | ctx.relPath = filename; |
| 1048 | RString openPath = filename; |
| 1049 | if (::EnumModDirectories(FindMissionPboCallback, &ctx)) |
no test coverage detected