aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorPaweł Kołodziejski2002-10-02 17:52:20 +0000
committerPaweł Kołodziejski2002-10-02 17:52:20 +0000
commit518cfaafcc4479c68518f350844717bfe4258c5e (patch)
tree648a70bce101b82a81b6d36360e550f7d685c258 /scumm
parent98d90696ada9377e958280dee3037f452934d50f (diff)
downloadscummvm-rg350-518cfaafcc4479c68518f350844717bfe4258c5e.tar.gz
scummvm-rg350-518cfaafcc4479c68518f350844717bfe4258c5e.tar.bz2
scummvm-rg350-518cfaafcc4479c68518f350844717bfe4258c5e.zip
fixed compilation and indent
svn-id: r5077
Diffstat (limited to 'scumm')
-rw-r--r--scumm/sound.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index 879d8a42e4..defa3946c3 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -569,11 +569,11 @@ int Sound::isSoundRunning(int sound) {
// Check raw mixer channels, to make sure we're not playing an exotic
// sound type manually.
- for (int i = 0; i < _scumm->_mixer->NUM_CHANNELS; i++) {
- if (_scumm->_mixer->_channels[i] && (_scumm->_mixer->_channels[i]->_id == sound)) {
- return 1;
- }
- }
+ for (i = 0; i < _scumm->_mixer->NUM_CHANNELS; i++) {
+ if (_scumm->_mixer->_channels[i] && (_scumm->_mixer->_channels[i]->_id == sound)) {
+ return 1;
+ }
+ }
se = _scumm->_imuse;
if (!se)