| 153 | } |
| 154 | |
| 155 | MapRecord* FindNextMap(MapRecord* thismap) |
| 156 | { |
| 157 | MapRecord* next = nullptr; |
| 158 | if (!thismap->NextMap.Compare("-")) return nullptr; // '-' means to forcibly end the game here. |
| 159 | if (thismap->NextMap.IsNotEmpty()) next = FindMapByName(thismap->NextMap.GetChars()); |
| 160 | if (!next) next = FindMapByLevelNum(thismap->levelNumber + 1); |
| 161 | return next; |
| 162 | } |
| 163 | |
| 164 | MapRecord* FindNextSecretMap(MapRecord* thismap) |
| 165 | { |
no test coverage detected