| 175 | } |
| 176 | |
| 177 | void ReplaceMusics(bool namehack) |
| 178 | { |
| 179 | TMap<FString, FString>::Iterator it(musicReplacements); |
| 180 | TMap<FString, FString>::Pair* pair; |
| 181 | while (it.NextPair(pair)) |
| 182 | { |
| 183 | FString mapname = pair->Key; |
| 184 | FString music = pair->Value; |
| 185 | SetMusicForMap(mapname.GetChars(), music.GetChars(), namehack); |
| 186 | } |
| 187 | musicReplacements.Clear(); |
| 188 | } |
| 189 | |
| 190 | bool SetMusicForMap(const char* mapname, const char* music, bool namehack) |
| 191 | { |
no test coverage detected