From 4cda099c575e15ff68239746f3b2076b1aad432f Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 24 May 2003 22:13:01 +0000 Subject: don't use _gameDataPath directly; minor cleanup svn-id: r7907 --- scumm/string.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scumm/string.cpp') 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; -- cgit v1.2.3