[Scummvm-cvs-logs] CVS: scummvm/sky sky.cpp,1.181,1.182

Eugene Sandulenko sev at users.sourceforge.net
Thu Sep 22 15:58:16 CEST 2005


Update of /cvsroot/scummvm/scummvm/sky
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27827/sky

Modified Files:
	sky.cpp 
Log Message:
Fix regression introduced when we split engine constructiors into
constructor itself and init() method. debug() and error() are dependent
on _debug object in many engines, so if these methods were called on early
stage, scummvm crashed.


Index: sky.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/sky.cpp,v
retrieving revision 1.181
retrieving revision 1.182
diff -u -d -r1.181 -r1.182
--- sky.cpp	9 Sep 2005 10:12:38 -0000	1.181
+++ sky.cpp	22 Sep 2005 22:55:01 -0000	1.182
@@ -118,7 +118,7 @@
 SystemVars SkyEngine::_systemVars = {0, 0, 0, 0, 4316, 0, 0, false, false, false };
 
 SkyEngine::SkyEngine(GameDetector *detector, OSystem *syst)
-	: Engine(syst), _fastMode(0) {
+	: Engine(syst), _fastMode(0), _debugger(0) {
 }
 
 SkyEngine::~SkyEngine() {





More information about the Scummvm-git-logs mailing list