[Scummvm-cvs-logs] scummvm master -> 87c457a22313ef60f445aae4792d226262891932

Strangerke Strangerke at scummvm.org
Sun Mar 16 14:53:44 CET 2014


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:
87c457a223 CINE: Initialize some unitialized variables


Commit: 87c457a22313ef60f445aae4792d226262891932
    https://github.com/scummvm/scummvm/commit/87c457a22313ef60f445aae4792d226262891932
Author: Strangerke (strangerke at scummvm.org)
Date: 2014-03-16T14:51:55+01:00

Commit Message:
CINE: Initialize some unitialized variables

Changed paths:
    engines/cine/cine.cpp



diff --git a/engines/cine/cine.cpp b/engines/cine/cine.cpp
index 797bc38..a4af8f2 100644
--- a/engines/cine/cine.cpp
+++ b/engines/cine/cine.cpp
@@ -55,6 +55,14 @@ CineEngine::CineEngine(OSystem *syst, const CINEGameDescription *gameDesc)
 	_console = new CineConsole(this);
 
 	g_cine = this;
+
+	for (int i = 0; i < NUM_FONT_CHARS; i++) {
+		_textHandler.fontParamTable[i].characterIdx = 0;
+		_textHandler.fontParamTable[i].characterWidth = 0;
+	}
+	_restartRequested = false;
+	_preLoad = false;
+	_timerDelayMultiplier = 12;
 }
 
 CineEngine::~CineEngine() {






More information about the Scummvm-git-logs mailing list