aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/sound.cpp
diff options
context:
space:
mode:
authorMax Horn2006-03-04 10:38:05 +0000
committerMax Horn2006-03-04 10:38:05 +0000
commitbb38ea2c17bc9f0de8f674db6a11f0c7af2c5ac7 (patch)
treee7f79e0806e268dae30732fa17c67bd89741e2e5 /engines/scumm/sound.cpp
parentbea9b5e7d05017fd0018e87ffb206357adcc430f (diff)
downloadscummvm-rg350-bb38ea2c17bc9f0de8f674db6a11f0c7af2c5ac7.tar.gz
scummvm-rg350-bb38ea2c17bc9f0de8f674db6a11f0c7af2c5ac7.tar.bz2
scummvm-rg350-bb38ea2c17bc9f0de8f674db6a11f0c7af2c5ac7.zip
Renamed SubstResFileNames::winName and macName to almostGameID / expandedName (the old names were misleading; the new ones aren't great either :)
svn-id: r21062
Diffstat (limited to 'engines/scumm/sound.cpp')
-rw-r--r--engines/scumm/sound.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/sound.cpp b/engines/scumm/sound.cpp
index 1b68a11dab..9bf8fefcd8 100644
--- a/engines/scumm/sound.cpp
+++ b/engines/scumm/sound.cpp
@@ -1008,7 +1008,7 @@ ScummFile *Sound::openSfxFile() {
basename[0] = _vm->getBaseName();
basename[1] = "monster";
- if (_vm->_substResFileName.winName != 0) {
+ if (_vm->_substResFileName.almostGameID != 0) {
strcpy(buf, basename[0]);
_vm->generateSubstResFileName(buf, buf1, sizeof(buf1));
@@ -1033,7 +1033,7 @@ ScummFile *Sound::openSfxFile() {
sprintf(buf, "%s.tlk", _vm->getBaseName());
}
- if (_vm->_substResFileName.winName != 0) {
+ if (_vm->_substResFileName.almostGameID != 0) {
_vm->generateSubstResFileName(buf, buf1, sizeof(buf1));
strcpy(buf, buf1);
}