SCUMM: Make use of new Common::Error type

This commit is contained in:
Max Horn 2011-04-18 18:20:40 +02:00
parent 3a574199b0
commit b929699ad2

View File

@ -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 {