[Scummvm-cvs-logs] scummvm master -> f246382f4b70c75ae8b084d79e64fea237bb5603

sylvaintv sylvaintv at gmail.com
Sat Apr 23 21:08:01 CEST 2011


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:
f246382f4b TOON: fix main title crash - Bug #3291725 fixed


Commit: f246382f4b70c75ae8b084d79e64fea237bb5603
    https://github.com/scummvm/scummvm/commit/f246382f4b70c75ae8b084d79e64fea237bb5603
Author: sylvaintv (sylvaintv at gmail.com)
Date: 2011-04-23T12:06:36-07:00

Commit Message:
TOON: fix main title crash - Bug #3291725 fixed

Bug #3291725: "TOON: Crash on the title screen"

Changed paths:
    engines/toon/toon.cpp



diff --git a/engines/toon/toon.cpp b/engines/toon/toon.cpp
index 1bc53e0..5c8ca77 100644
--- a/engines/toon/toon.cpp
+++ b/engines/toon/toon.cpp
@@ -116,6 +116,8 @@ void ToonEngine::init() {
 	_drew = _characters[0];
 	_flux = _characters[1];
 
+	
+
 	// preload walk anim for flux and drew
 	_drew->loadWalkAnimation("STNDWALK.CAF");
 	_drew->setupPalette();
@@ -135,6 +137,9 @@ void ToonEngine::init() {
 	memset(_sceneAnimations, 0, sizeof(_sceneAnimations));
 	memset(_sceneAnimationScripts, 0, sizeof(_sceneAnimationScripts));
 
+	_drew->setVisible(false);
+	_flux->setVisible(false);
+
 	_gameState->_currentChapter = 1;
 	initChapter();
 	loadCursor();






More information about the Scummvm-git-logs mailing list