aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2013-11-09 19:27:38 +0100
committerStrangerke2013-11-09 19:27:38 +0100
commit6a1b3f40fcf568c9c573ef543ce404070b985a3b (patch)
tree73438269e1241ab0968e7e0a934ebd44da09c141
parent1c0367d5a60ca21e0a273175a7f9fb3eeadfd795 (diff)
downloadscummvm-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.cpp2
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);