From aed02365ec81e77b3c8aa4f4ecd9a9d3893326f2 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Mon, 25 Jan 2010 01:39:44 +0000 Subject: Strip trailing spaces/tabs. svn-id: r47541 --- engines/sword1/sound.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/sword1/sound.cpp') diff --git a/engines/sword1/sound.cpp b/engines/sword1/sound.cpp index d28ab8efd9..88c50f8121 100644 --- a/engines/sword1/sound.cpp +++ b/engines/sword1/sound.cpp @@ -257,7 +257,7 @@ void Sound::playSample(QueueElement *elem) { int8 pan = (volR - volL) / 2; uint8 volume = (volR + volL) / 2; - if (SwordEngine::isPsx()) { + if (SwordEngine::isPsx()) { uint32 size = READ_LE_UINT32(sampleData); Audio::AudioStream *audStream = Audio::makeLoopingAudioStream(new Audio::VagStream(new Common::MemoryReadStream(sampleData + 4, size-4)), (_fxList[elem->id].type == FX_LOOP) ? 0 : 1); _mixer->playInputStream(Audio::Mixer::kSFXSoundType, &elem->handle, audStream, elem->id, volume, pan); @@ -316,7 +316,7 @@ bool Sound::startSpeech(uint16 roomNo, uint16 localNo) { warning ("Could not open speech.inf"); return false; } - + uint16 numRooms = file.readUint16LE(); // Read number of rooms referenced in this file file.seek(locIndex * 4 + 2); // 4 bytes per room, skip first 2 bytes -- cgit v1.2.3