[Scummvm-git-logs] scummvm master -> 501fcaf9c31bfc4f21f52e720352a463feb6225f

lephilousophe noreply at scummvm.org
Sat Dec 4 15:24:03 UTC 2021


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:
501fcaf9c3 GROOVIE: Fix build when Groovie 2 games are not enabled


Commit: 501fcaf9c31bfc4f21f52e720352a463feb6225f
    https://github.com/scummvm/scummvm/commit/501fcaf9c31bfc4f21f52e720352a463feb6225f
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2021-12-04T16:23:57+01:00

Commit Message:
GROOVIE: Fix build when Groovie 2 games are not enabled

Changed paths:
    engines/groovie/script.cpp


diff --git a/engines/groovie/script.cpp b/engines/groovie/script.cpp
index 2b6b29d993..09fab52781 100644
--- a/engines/groovie/script.cpp
+++ b/engines/groovie/script.cpp
@@ -78,9 +78,11 @@ enum kSpecialVariableTypes {
 Script::Script(GroovieEngine *vm, EngineVersion version) :
 	_code(nullptr), _savedCode(nullptr), _stacktop(0), _debugger(nullptr), _vm(vm),
 	_videoFile(nullptr), _videoRef(UINT_MAX), _cellGame(nullptr), _lastCursor(0xff),
-	_version(version), _random("GroovieScripts"), _tlcGame(nullptr),
+#ifdef ENABLE_GROOVIE2
 	_beehive(ConfMan.getBool("easier_ai")), _cake(ConfMan.getBool("easier_ai")), _gallery(ConfMan.getBool("easier_ai")),
-	_mouseTrap(ConfMan.getBool("easier_ai")), _othello(ConfMan.getBool("easier_ai")), _pente(ConfMan.getBool("easier_ai"))
+	_mouseTrap(ConfMan.getBool("easier_ai")), _othello(ConfMan.getBool("easier_ai")), _pente(ConfMan.getBool("easier_ai")),
+#endif
+	_version(version), _random("GroovieScripts"), _tlcGame(nullptr)
 {
 
 	// Initialize the opcode set depending on the engine version




More information about the Scummvm-git-logs mailing list