mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-21 01:05:59 +00:00
ASYLUM: fix music changing
This commit is contained in:
parent
2d5d820c93
commit
530b4d51f6
@ -106,7 +106,7 @@ void Sound::playMusic(ResourceId resourceId, int32 volume) {
|
||||
|
||||
void Sound::changeMusic(int32 index, int32 musicStatusExt) {
|
||||
if (index != getWorld()->musicCurrentResourceIndex) {
|
||||
getWorld()->musicCurrentResourceIndex = index;
|
||||
getWorld()->musicResourceIndex = index;
|
||||
getWorld()->musicStatusExt = musicStatusExt;
|
||||
getWorld()->musicFlag = 1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user