diff options
author | Strangerke | 2013-11-09 19:27:38 +0100 |
---|---|---|
committer | Strangerke | 2013-11-09 19:27:38 +0100 |
commit | 6a1b3f40fcf568c9c573ef543ce404070b985a3b (patch) | |
tree | 73438269e1241ab0968e7e0a934ebd44da09c141 | |
parent | 1c0367d5a60ca21e0a273175a7f9fb3eeadfd795 (diff) | |
download | scummvm-rg350-6a1b3f40fcf568c9c573ef543ce404070b985a3b.tar.gz scummvm-rg350-6a1b3f40fcf568c9c573ef543ce404070b985a3b.tar.bz2 scummvm-rg350-6a1b3f40fcf568c9c573ef543ce404070b985a3b.zip |
HOPKINS: Error out when an unknown version is encountered
-rw-r--r-- | engines/hopkins/menu.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/hopkins/menu.cpp b/engines/hopkins/menu.cpp index 455f4ad8d4..b63fd0ff6c 100644 --- a/engines/hopkins/menu.cpp +++ b/engines/hopkins/menu.cpp @@ -86,6 +86,8 @@ int MenuManager::menu() { spriteData = _vm->_objectsMan->loadSprite("MENUFR.SPR"); else if (_vm->_globals->_language == LANG_SP) spriteData = _vm->_objectsMan->loadSprite("MENUES.SPR"); + else + error("Hopkins::MenuManager - Unknown version of the game."); _vm->_events->mouseOn(); _vm->_events->changeMouseCursor(0); |