[Scummvm-git-logs] scummvm master -> 02086574a895fc17d9b17cb4114011234704d980

aquadran noreply at scummvm.org
Wed Sep 3 15:34:01 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:
02086574a8 WINTERMUTE: Remove not used code


Commit: 02086574a895fc17d9b17cb4114011234704d980
    https://github.com/scummvm/scummvm/commit/02086574a895fc17d9b17cb4114011234704d980
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2025-09-03T17:33:55+02:00

Commit Message:
WINTERMUTE: Remove not used code

Changed paths:
    engines/wintermute/wintermute.cpp
    engines/wintermute/wintermute.h


diff --git a/engines/wintermute/wintermute.cpp b/engines/wintermute/wintermute.cpp
index 03d0ece9cab..a7e6f4b5235 100644
--- a/engines/wintermute/wintermute.cpp
+++ b/engines/wintermute/wintermute.cpp
@@ -49,15 +49,6 @@
 
 namespace Wintermute {
 
-// Simple constructor for detection - we need to setup the persistence to avoid special-casing in-engine
-// This might not be the prettiest solution
-WintermuteEngine::WintermuteEngine() : Engine(g_system) {
-	_game = new AdGame("");
-	_debugger = nullptr;
-	_dbgController = nullptr;
-	_gameDescription = nullptr;
-}
-
 WintermuteEngine::WintermuteEngine(OSystem *syst, const WMEGameDescription *desc)
 	: Engine(syst), _gameDescription(desc) {
 	// Put your engine in a sane state, but do nothing big yet;
diff --git a/engines/wintermute/wintermute.h b/engines/wintermute/wintermute.h
index a28a0ac54dd..3bba216a1ce 100644
--- a/engines/wintermute/wintermute.h
+++ b/engines/wintermute/wintermute.h
@@ -51,7 +51,6 @@ enum {
 class WintermuteEngine : public Engine {
 public:
 	WintermuteEngine(OSystem *syst, const WMEGameDescription *desc);
-	WintermuteEngine();
 	~WintermuteEngine() override;
 
 	virtual Wintermute::Console *getConsole() { return _debugger; }




More information about the Scummvm-git-logs mailing list