mirror of
https://github.com/dhewm/dhewm3-sdk.git
synced 2025-04-18 15:31:02 +00:00
Fix music volume: Also collect s_music speakers when loading savegame
fixes https://github.com/dhewm/dhewm3/issues/288
This commit is contained in:
parent
5070b8c7ec
commit
9f36bb4217
1 changed files with 4 additions and 0 deletions
|
@ -97,6 +97,10 @@ void idSound::Restore( idRestoreGame *savefile ) {
|
|||
savefile->ReadVec3( shakeTranslate );
|
||||
savefile->ReadAngles( shakeRotate );
|
||||
savefile->ReadInt( playingUntilTime );
|
||||
|
||||
if ( spawnArgs.GetBool( "s_music" ) ) { //SnoopJeDi/DG
|
||||
gameLocal.musicSpeakers.Append( entityNumber );
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue