diff options
Diffstat (limited to 'engines/hugo/file_v1w.cpp')
-rw-r--r-- | engines/hugo/file_v1w.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/hugo/file_v1w.cpp b/engines/hugo/file_v1w.cpp index 6ab21a853e..e4f97a917d 100644 --- a/engines/hugo/file_v1w.cpp +++ b/engines/hugo/file_v1w.cpp @@ -37,14 +37,16 @@ #include "hugo/util.h" namespace Hugo { -FileManager_v1w::FileManager_v1w(HugoEngine &vm) : FileManager_v2d(vm) { +FileManager_v1w::FileManager_v1w(HugoEngine *vm) : FileManager_v2d(vm) { } FileManager_v1w::~FileManager_v1w() { } +/** +* Open and read in an overlay file, close file +*/ void FileManager_v1w::readOverlay(int screenNum, image_pt image, ovl_t overlayType) { -// Open and read in an overlay file, close file debugC(1, kDebugFile, "readOverlay(%d, ...)", screenNum); image_pt tmpImage = image; // temp ptr to overlay file @@ -75,7 +77,7 @@ void FileManager_v1w::readOverlay(int screenNum, image_pt image, ovl_t overlayTy i = sceneBlock.ob_len; break; default: - Utils::Error(FILE_ERR, "%s", "Bad ovl_type"); + error("Bad overlayType: %d", overlayType); break; } if (i == 0) { |