mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +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
d72a1eb1fd
commit
8dc15e97e1
@ -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