[Scummvm-git-logs] scummvm master -> 6eb1093eb19f61279f8883c54418cad029c3edae

eriktorbjorn noreply at scummvm.org
Sun Sep 21 15:25:02 UTC 2025


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

Summary:
6eb1093eb1 HYPNO: Add empty destructors for Spider and Wet engines


Commit: 6eb1093eb19f61279f8883c54418cad029c3edae
    https://github.com/scummvm/scummvm/commit/6eb1093eb19f61279f8883c54418cad029c3edae
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2025-09-21T17:23:34+02:00

Commit Message:
HYPNO: Add empty destructors for Spider and Wet engines

I think this is why Sinister Six would crash for me on quitting. I have
not been able to reproduce that crash with Wetlands, but it shouldn't
hurt to have one there too.

Changed paths:
    engines/hypno/hypno.h
    engines/hypno/spider/spider.cpp
    engines/hypno/wet/wet.cpp


diff --git a/engines/hypno/hypno.h b/engines/hypno/hypno.h
index 9792983c0a2..4202cae3db6 100644
--- a/engines/hypno/hypno.h
+++ b/engines/hypno/hypno.h
@@ -437,6 +437,7 @@ struct chapterEntry {
 class WetEngine : public HypnoEngine {
 public:
 	WetEngine(OSystem *syst, const ADGameDescription *gd);
+	~WetEngine();
 	Common::HashMap<int, const struct chapterEntry*> _chapterTable;
 	Common::Array<int> _ids;
 	int _lastLevel;
@@ -533,6 +534,7 @@ private:
 class SpiderEngine : public HypnoEngine {
 public:
 	SpiderEngine(OSystem *syst, const ADGameDescription *gd);
+	~SpiderEngine();
 	void loadAssets() override;
 	void loadAssetsDemo();
 	void loadAssetsFullGame();
diff --git a/engines/hypno/spider/spider.cpp b/engines/hypno/spider/spider.cpp
index 928ba1f16c4..c3bcb77a336 100644
--- a/engines/hypno/spider/spider.cpp
+++ b/engines/hypno/spider/spider.cpp
@@ -38,6 +38,9 @@ SpiderEngine::SpiderEngine(OSystem *syst, const ADGameDescription *gd)
 	_font = nullptr;
 }
 
+SpiderEngine::~SpiderEngine() {
+}
+
 void SpiderEngine::loadAssets() {
 	if (!isDemo())
 		loadAssetsFullGame();
diff --git a/engines/hypno/wet/wet.cpp b/engines/hypno/wet/wet.cpp
index df7c5c9d940..f951e8b3ce2 100644
--- a/engines/hypno/wet/wet.cpp
+++ b/engines/hypno/wet/wet.cpp
@@ -96,6 +96,9 @@ WetEngine::WetEngine(OSystem *syst, const ADGameDescription *gd) : HypnoEngine(s
 	_enterNameString = getLocalizedString("name");
 }
 
+WetEngine::~WetEngine() {
+}
+
 void WetEngine::loadAssets() {
 	if (!isDemo()) {
 		_difficulty = "1"; // Medium difficulty by default




More information about the Scummvm-git-logs mailing list