aboutsummaryrefslogtreecommitdiff
path: root/engines/cruise
diff options
context:
space:
mode:
authorJohannes Schickel2009-04-01 14:00:17 +0000
committerJohannes Schickel2009-04-01 14:00:17 +0000
commitbf94fc6e4eae19d205d66a57235037ea67ef1133 (patch)
tree94f5eafd5c9ecf6036c210398b70844e327fb70f /engines/cruise
parenta9e424f177605de071673001902d0995008bea89 (diff)
downloadscummvm-rg350-bf94fc6e4eae19d205d66a57235037ea67ef1133.tar.gz
scummvm-rg350-bf94fc6e4eae19d205d66a57235037ea67ef1133.tar.bz2
scummvm-rg350-bf94fc6e4eae19d205d66a57235037ea67ef1133.zip
Fix warnings.
svn-id: r39790
Diffstat (limited to 'engines/cruise')
-rw-r--r--engines/cruise/sound.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/engines/cruise/sound.cpp b/engines/cruise/sound.cpp
index ba66483548..caf7686990 100644
--- a/engines/cruise/sound.cpp
+++ b/engines/cruise/sound.cpp
@@ -112,9 +112,9 @@ void MusicPlayer::loadSong(const char *name) {
// Get the details of the song
// TODO: Figure this out for sure for use in actually playing song
- int numTracksMaybe = *(_songPointer + 470);
- int speed = 244 - *(_songPointer + 471);
- int musicSpeed = (speed * 100) / 1060;
+ //int numTracksMaybe = *(_songPointer + 470);
+ //int speed = 244 - *(_songPointer + 471);
+ //int musicSpeed = (speed * 100) / 1060;
// Get the file without the extension
@@ -127,8 +127,7 @@ void MusicPlayer::loadSong(const char *name) {
strcat(tempName, ".IST");
fileIdx = findFileInDisks(tempName);
- if (fileIdx >= 0)
- {
+ if (fileIdx >= 0) {
// TODO: Figure out instrument state usage
uint8 instrumentState[15];
loadPackedFileToMem(fileIdx, instrumentState);