| 162 | } |
| 163 | |
| 164 | MapRecord* FindNextSecretMap(MapRecord* thismap) |
| 165 | { |
| 166 | MapRecord* next = nullptr; |
| 167 | if (!thismap->NextSecret.Compare("-")) return nullptr; // '-' means to forcibly end the game here. |
| 168 | if (thismap->NextSecret.IsNotEmpty()) next = FindMapByName(thismap->NextSecret.GetChars()); |
| 169 | return next? next : FindNextMap(thismap); |
| 170 | } |
| 171 | |
| 172 | void SetMusicReplacement(const char *mapname, const char *music) |
| 173 | { |
no test coverage detected