mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 06:15:04 +00:00
(svn r20102) -Fix: OpenMSX music sounds odd after certain songs are played. Likely because the instruments weren't reset properly
This commit is contained in:
parent
03b079f856
commit
24fe1f41a5
@ -165,8 +165,8 @@ void MusicDriver_DMusic::PlaySong(const char *filename)
|
||||
|
||||
/* release the existing segment if we have any */
|
||||
if (segment != NULL) {
|
||||
segment->Release();
|
||||
segment = NULL;
|
||||
this->Stop();
|
||||
if (this->Start(NULL) != NULL) return;
|
||||
}
|
||||
|
||||
/* make a new segment */
|
||||
|
Loading…
Reference in New Issue
Block a user