aboutsummaryrefslogtreecommitdiff
path: root/sword1
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-12-29 14:04:57 +0000
committerTorbjörn Andersson2003-12-29 14:04:57 +0000
commite559a32323b6a3503aa5b2b301303773267e8c7d (patch)
tree4cccc8510d6d4d4141e34b3cadaee5b83bad436b /sword1
parent6fe24ad40a93fe508d4e42954e24963a78976128 (diff)
downloadscummvm-rg350-e559a32323b6a3503aa5b2b301303773267e8c7d.tar.gz
scummvm-rg350-e559a32323b6a3503aa5b2b301303773267e8c7d.tar.bz2
scummvm-rg350-e559a32323b6a3503aa5b2b301303773267e8c7d.zip
Changed spaces to tabs
svn-id: r12008
Diffstat (limited to 'sword1')
-rw-r--r--sword1/sound.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sword1/sound.cpp b/sword1/sound.cpp
index e92b818f85..2ded6fa9ee 100644
--- a/sword1/sound.cpp
+++ b/sword1/sound.cpp
@@ -106,7 +106,7 @@ void SwordSound::fnStopFx(int32 fxNo) {
bool SwordSound::amISpeaking(void) {
_waveVolPos++;
- return _waveVolume[_waveVolPos - 1];
+ return _waveVolume[_waveVolPos - 1];
}
bool SwordSound::speechFinished(void) {
@@ -226,7 +226,7 @@ void SwordSound::calcWaveVolume(int16 *data, uint32 length) {
int32 average = 0;
for (uint32 cnt = 0; cnt < 918; cnt++)
average += blkPos[cnt];
- average /= 918;
+ average /= 918;
uint32 diff = 0;
for (uint32 cnt = 0; cnt < 918; cnt++) {
int16 smpDiff = *blkPos - average;