aboutsummaryrefslogtreecommitdiff
path: root/scumm/string.cpp
diff options
context:
space:
mode:
authorMax Horn2003-05-24 22:13:01 +0000
committerMax Horn2003-05-24 22:13:01 +0000
commit4cda099c575e15ff68239746f3b2076b1aad432f (patch)
tree06f00e490036ba6e98c42a478563328fe929150b /scumm/string.cpp
parent1457f95ec8c8151f4e2a8cbd1d4ef64b42fc01b6 (diff)
downloadscummvm-rg350-4cda099c575e15ff68239746f3b2076b1aad432f.tar.gz
scummvm-rg350-4cda099c575e15ff68239746f3b2076b1aad432f.tar.bz2
scummvm-rg350-4cda099c575e15ff68239746f3b2076b1aad432f.zip
don't use _gameDataPath directly; minor cleanup
svn-id: r7907
Diffstat (limited to 'scumm/string.cpp')
-rw-r--r--scumm/string.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp
index e802259786..42b91ac657 100644
--- a/scumm/string.cpp
+++ b/scumm/string.cpp
@@ -765,9 +765,9 @@ void Scumm::loadLanguageBundle() {
int32 size;
if (_gameId == GID_DIG) {
- file.open("language.bnd", _gameDataPath);
+ file.open("language.bnd", getGameDataPath());
} else if (_gameId == GID_CMI) {
- file.open("language.tab", _gameDataPath);
+ file.open("language.tab", getGameDataPath());
} else {
return;
}
@@ -865,7 +865,7 @@ void Scumm::translateText(const byte *text, byte *trans_buff) {
if (found != NULL) {
File file;
- file.open("language.tab", _gameDataPath);
+ file.open("language.tab", getGameDataPath());
if (file.isOpen()) {
byte *ptr = trans_buff;
byte c;