aboutsummaryrefslogtreecommitdiff
path: root/simon/items.cpp
diff options
context:
space:
mode:
authorMax Horn2004-06-27 22:14:35 +0000
committerMax Horn2004-06-27 22:14:35 +0000
commitb8ad54b3af1de97bf986e7e4d4da97f02ece3273 (patch)
tree59bb3fbadaa8857a75010692593bef3a866d49cb /simon/items.cpp
parenta461c7550e2260601a63cd113a31254f2fd3ef50 (diff)
downloadscummvm-rg350-b8ad54b3af1de97bf986e7e4d4da97f02ece3273.tar.gz
scummvm-rg350-b8ad54b3af1de97bf986e7e4d4da97f02ece3273.tar.bz2
scummvm-rg350-b8ad54b3af1de97bf986e7e4d4da97f02ece3273.zip
Reversed param order of File::open() -- this allowed me to get rid of a few more getGameDataPath() calls
svn-id: r14090
Diffstat (limited to 'simon/items.cpp')
-rw-r--r--simon/items.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/simon/items.cpp b/simon/items.cpp
index d945f6ba76..5e67881576 100644
--- a/simon/items.cpp
+++ b/simon/items.cpp
@@ -1025,9 +1025,9 @@ int SimonEngine::runScript() {
if (_game == GAME_SIMON1CD32) {
char buf[10];
sprintf(buf, "%d%s", _sound_file_id, "Effects");
- _sound->readSfxFile(buf, _gameDataPath);
+ _sound->readSfxFile(buf);
sprintf(buf, "%d%s", _sound_file_id, "simon");
- _sound->readVoiceFile(buf, _gameDataPath);
+ _sound->readVoiceFile(buf);
}
}