diff options
author | Max Horn | 2011-04-18 18:20:40 +0200 |
---|---|---|
committer | Max Horn | 2011-04-18 18:22:04 +0200 |
commit | b929699ad20dc06a379fedb3704a28aec0f82347 (patch) | |
tree | 4c561a8e3e9c641fa3a021b1129673b36c7de159 /engines/scumm/scumm.cpp | |
parent | 3a574199b0b3e848d786d71a50a1107536507479 (diff) | |
download | scummvm-rg350-b929699ad20dc06a379fedb3704a28aec0f82347.tar.gz scummvm-rg350-b929699ad20dc06a379fedb3704a28aec0f82347.tar.bz2 scummvm-rg350-b929699ad20dc06a379fedb3704a28aec0f82347.zip |
SCUMM: Make use of new Common::Error type
Diffstat (limited to 'engines/scumm/scumm.cpp')
-rw-r--r-- | engines/scumm/scumm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/scumm.cpp b/engines/scumm/scumm.cpp index 5aea36ef66..67c535690b 100644 --- a/engines/scumm/scumm.cpp +++ b/engines/scumm/scumm.cpp @@ -1162,7 +1162,7 @@ Common::Error ScummEngine::init() { warning("Starting game without the required 16bit color support.\nYou may experience color glitches"); initGraphics(screenWidth, screenHeight, (screenWidth > 320)); } else { - error("16bit color support is required for this game"); + return Common::Error(Common::kUnsupportedColorMode, "16bit color support is required for this game"); } #endif } else { |