diff options
author | Arnaud Boutonné | 2010-11-11 10:36:10 +0000 |
---|---|---|
committer | Arnaud Boutonné | 2010-11-11 10:36:10 +0000 |
commit | 84e4c1742a849e2d8087528c3ba4ecce37896512 (patch) | |
tree | e4363831315adca4e0d63a72a231d3e20c632b98 /engines/hugo/file_v3d.cpp | |
parent | 203ff5e19a6107c71dc27909fa4982278d0436fe (diff) | |
download | scummvm-rg350-84e4c1742a849e2d8087528c3ba4ecce37896512.tar.gz scummvm-rg350-84e4c1742a849e2d8087528c3ba4ecce37896512.tar.bz2 scummvm-rg350-84e4c1742a849e2d8087528c3ba4ecce37896512.zip |
HUGO: Suppress the use of Utils::Error, cleanup
svn-id: r54198
Diffstat (limited to 'engines/hugo/file_v3d.cpp')
-rw-r--r-- | engines/hugo/file_v3d.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/hugo/file_v3d.cpp b/engines/hugo/file_v3d.cpp index 312e2f7bc2..e98b4cc013 100644 --- a/engines/hugo/file_v3d.cpp +++ b/engines/hugo/file_v3d.cpp @@ -83,13 +83,13 @@ void FileManager_v3d::openDatabaseFiles() { debugC(1, kDebugFile, "openDatabaseFiles"); if (!_stringArchive.open(STRING_FILE)) - Utils::Error(FILE_ERR, "%s", STRING_FILE); + error("File not found: %s", STRING_FILE); if (!_sceneryArchive1.open("scenery1.dat")) - Utils::Error(FILE_ERR, "%s", "scenery1.dat"); + error("File not found: scenery1.dat"); if (!_sceneryArchive2.open("scenery2.dat")) - Utils::Error(FILE_ERR, "%s", "scenery2.dat"); + error("File not found: scenery2.dat"); if (!_objectsArchive.open(OBJECTS_FILE)) - Utils::Error(FILE_ERR, "%s", OBJECTS_FILE); + error("File not found: %s", OBJECTS_FILE); } /** @@ -140,7 +140,7 @@ void FileManager_v3d::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) { @@ -180,7 +180,7 @@ void FileManager_v3d::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) { |