| 136 | } |
| 137 | |
| 138 | MapRecord* FindMapByIndexOnly(int cluster, int num) |
| 139 | { |
| 140 | int levelnum = makelevelnum(cluster, num); |
| 141 | for (auto& map : mapList) |
| 142 | { |
| 143 | if (map->levelNumber == levelnum) return map.Data(); |
| 144 | } |
| 145 | return nullptr; |
| 146 | } |
| 147 | |
| 148 | MapRecord* FindMapByIndex(int cluster, int num) |
| 149 | { |
no test coverage detected