From a7df59a0ac72bad5823e35b1bd765658d56a2b50 Mon Sep 17 00:00:00 2001 From: David Turner Date: Fri, 21 Jan 2011 19:25:24 +0000 Subject: TOUCHE: Fixed Uninitialised Read in first call to ToucheEngine::res_loadBackdrop(). svn-id: r55385 --- engines/touche/touche.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/touche/touche.cpp') diff --git a/engines/touche/touche.cpp b/engines/touche/touche.cpp index 0bfb43a27a..e99a08ee6a 100644 --- a/engines/touche/touche.cpp +++ b/engines/touche/touche.cpp @@ -196,6 +196,8 @@ void ToucheEngine::restart() { _conversationAreaCleared = false; memset(_conversationChoicesTable, 0, sizeof(_conversationChoicesTable)); + _currentRoomNum = 0; + _flagsTable[901] = 1; // _flagsTable[902] = 1; if (_language == Common::FR_FRA) { -- cgit v1.2.3