aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/file_v1d.cpp
diff options
context:
space:
mode:
authorArnaud Boutonné2011-02-12 08:13:35 +0000
committerArnaud Boutonné2011-02-12 08:13:35 +0000
commit69d907151bf466f67d4e4546a5690befc65ebac4 (patch)
tree8939f72f9fa276280d4dd492776a210c20142cb8 /engines/hugo/file_v1d.cpp
parent191d21678588d22d5c09e97d20f7a87225622c07 (diff)
downloadscummvm-rg350-69d907151bf466f67d4e4546a5690befc65ebac4.tar.gz
scummvm-rg350-69d907151bf466f67d4e4546a5690befc65ebac4.tar.bz2
scummvm-rg350-69d907151bf466f67d4e4546a5690befc65ebac4.zip
HUGO: Cleanup based on Fingolfin comments
svn-id: r55887
Diffstat (limited to 'engines/hugo/file_v1d.cpp')
-rw-r--r--engines/hugo/file_v1d.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hugo/file_v1d.cpp b/engines/hugo/file_v1d.cpp
index 166a335c8d..be23edb7b4 100644
--- a/engines/hugo/file_v1d.cpp
+++ b/engines/hugo/file_v1d.cpp
@@ -62,7 +62,7 @@ void FileManager_v1d::readOverlay(const int screenNum, image_pt image, const ovl
const char *ovl_ext[] = {".b", ".o", ".ob"};
Common::String buf = Common::String(_vm->_text->getScreenNames(screenNum)) + Common::String(ovl_ext[overlayType]);
- if (!fileExists(buf)) {
+ if (!Common::File::exists(buf)) {
for (int i = 0; i < kOvlSize; i++)
image[i] = 0;
warning("File not found: %s", buf.c_str());
@@ -95,7 +95,7 @@ void FileManager_v1d::readBackground(const int screenIndex) {
_sceneryArchive1.close();
}
-char *FileManager_v1d::fetchString(const int index) {
+const char *FileManager_v1d::fetchString(const int index) {
debugC(1, kDebugFile, "fetchString(%d)", index);
return _vm->_text->getStringtData(index);