aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2010-10-31 20:57:50 +0000
committerFilippos Karapetis2010-10-31 20:57:50 +0000
commit43221a32539b707361efa9a3be4691fc1d943554 (patch)
treeb0dda2fe14a803d78e3b61c5b711cffd91b91466 /engines
parent1421312cf831a9d2d051151a927e6efd32e8873c (diff)
downloadscummvm-rg350-43221a32539b707361efa9a3be4691fc1d943554.tar.gz
scummvm-rg350-43221a32539b707361efa9a3be4691fc1d943554.tar.bz2
scummvm-rg350-43221a32539b707361efa9a3be4691fc1d943554.zip
SCI: Removing obsolete function parameter
svn-id: r53986
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/savegame.cpp4
-rw-r--r--engines/sci/sound/soundcmd.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/engine/savegame.cpp b/engines/sci/engine/savegame.cpp
index 4d55febbf9..0b6caa515b 100644
--- a/engines/sci/engine/savegame.cpp
+++ b/engines/sci/engine/savegame.cpp
@@ -530,7 +530,7 @@ void SoundCommandParser::syncPlayList(Common::Serializer &s) {
_music->saveLoadWithSerializer(s);
}
-void SoundCommandParser::reconstructPlayList(int version) {
+void SoundCommandParser::reconstructPlayList() {
Common::StackLock lock(_music->_mutex);
const MusicList::iterator end = _music->getPlayListEnd();
@@ -777,7 +777,7 @@ void gamestate_restore(EngineState *s, Common::SeekableReadStream *fh) {
if (g_sci->_gfxPorts)
g_sci->_gfxPorts->reset();
- g_sci->_soundCmd->reconstructPlayList(meta.version);
+ g_sci->_soundCmd->reconstructPlayList();
// Message state:
delete s->_msgState;
diff --git a/engines/sci/sound/soundcmd.h b/engines/sci/sound/soundcmd.h
index 61371d903f..b457ad4618 100644
--- a/engines/sci/sound/soundcmd.h
+++ b/engines/sci/sound/soundcmd.h
@@ -53,7 +53,7 @@ public:
// Functions used for game state loading
void clearPlayList();
void syncPlayList(Common::Serializer &s);
- void reconstructPlayList(int savegame_version);
+ void reconstructPlayList();
// Functions used for the ScummVM menus
void setMasterVolume(int vol);