Codechange: use the shortname as unique id to identify the base graphics in openttd.cfg.

This commit is contained in:
frosch
2023-10-02 14:17:32 +02:00
committed by frosch
parent 97df27e41f
commit 0b7ecf6102
6 changed files with 62 additions and 16 deletions

View File

@@ -173,7 +173,7 @@ void MusicSystem::ChangePlaylist(PlaylistChoices pl)
*/
void MusicSystem::ChangeMusicSet(const std::string &set_name)
{
BaseMusic::SetSet(set_name);
BaseMusic::SetSetByName(set_name);
BaseMusic::ini_set = set_name;
this->BuildPlaylists();