diff options
-rw-r--r-- | scumm/sound.cpp | 4 | ||||
-rw-r--r-- | scumm/sound.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp index cad6bcfa89..13ca9a043a 100644 --- a/scumm/sound.cpp +++ b/scumm/sound.cpp @@ -68,7 +68,7 @@ void Sound::addSoundToQueue2(int sound) { } void Sound::processSoundQues() { - byte d; + int d; int i, j; int num; int16 data[16]; @@ -597,7 +597,7 @@ void Sound::stopSound(int a) { } for (i = 0; i < 10; i++) - if (_soundQue2[i] == (byte)a) + if (_soundQue2[i] == a) _soundQue2[i] = 0; } diff --git a/scumm/sound.h b/scumm/sound.h index a0c6af1725..6c206dc3fb 100644 --- a/scumm/sound.h +++ b/scumm/sound.h @@ -39,7 +39,7 @@ enum { }; int16 _soundQuePos, _soundQue[0x100]; - byte _soundQue2Pos, _soundQue2[10]; + int16 _soundQue2Pos, _soundQue2[10]; bool _soundsPaused2; bool _soundVolumePreset; |