[Scummvm-git-logs] scummvm master -> d7e5e73fa323071cb40176d935aa612f5582d83b

neuromancer noreply at scummvm.org
Wed Feb 2 19:38:18 UTC 2022


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
d7e5e73fa3 HYPNO: added a warning about unsupported languages in spider


Commit: d7e5e73fa323071cb40176d935aa612f5582d83b
    https://github.com/scummvm/scummvm/commit/d7e5e73fa323071cb40176d935aa612f5582d83b
Author: neuromancer (gustavo.grieco at gmail.com)
Date: 2022-02-02T20:38:30+01:00

Commit Message:
HYPNO: added a warning about unsupported languages in spider

Changed paths:
    engines/hypno/detection.cpp
    engines/hypno/spider/hard.cpp


diff --git a/engines/hypno/detection.cpp b/engines/hypno/detection.cpp
index 24a8d43e7a7..b3f9ce01476 100644
--- a/engines/hypno/detection.cpp
+++ b/engines/hypno/detection.cpp
@@ -76,7 +76,7 @@ static const ADGameDescription gameDescriptions[] = {
 				"MISSIONS.LIB", "585704e26094cbaf14fbee90798e8d5d", 119945),
 		Common::DE_DEU,
 		Common::kPlatformDOS,
-		ADGF_TESTING,
+		ADGF_UNSTABLE,
 		GUIO1(GUIO_NOMIDI)
 	},
 	{
diff --git a/engines/hypno/spider/hard.cpp b/engines/hypno/spider/hard.cpp
index dc1b006457d..d4906b2aec9 100644
--- a/engines/hypno/spider/hard.cpp
+++ b/engines/hypno/spider/hard.cpp
@@ -20,7 +20,7 @@
  */
 
 #include "common/events.h"
-
+#include "gui/message.h"
 #include "hypno/hypno.h"
 
 namespace Hypno {
@@ -303,7 +303,11 @@ void SpiderEngine::runNote(Code *code) {
 		}
 	break;
 	default:
-		error("Unsupported language");
+		GUI::MessageDialog dialog("The following puzzle is not fully implemented for\
+								   the current language yet, so it will be skipped");
+		dialog.runModal();
+		_nextLevel = code->levelIfWin;
+		return;
 	break;
 	}
 




More information about the Scummvm-git-logs mailing list