Fixed more warnings
svn-id: r33649
This commit is contained in:
parent
21cd277f13
commit
e30d16ddc2
2 changed files with 1 additions and 2 deletions
|
@ -228,7 +228,7 @@ int Engine::runDialog(Dialog &dialog) {
|
|||
|
||||
pauseEngine(true);
|
||||
|
||||
int result = dialog.runModal();
|
||||
dialog.runModal();
|
||||
|
||||
pauseEngine(false);
|
||||
|
||||
|
|
|
@ -421,7 +421,6 @@ void SoundManager::musicInterface_Play(uint8 soundNumber, uint8 channelNumber, u
|
|||
return;
|
||||
|
||||
bool isMusic = (soundNumber & 0x80) != 0;
|
||||
uint8 volume = isMusic ? game.musicVolume() : game.sfxVolume();
|
||||
|
||||
if (!game.soundFlag())
|
||||
// Don't play sounds if sound is turned off
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue