aboutsummaryrefslogtreecommitdiff
path: root/engines/touche/touche.cpp
diff options
context:
space:
mode:
authorDavid Turner2011-01-21 19:25:24 +0000
committerDavid Turner2011-01-21 19:25:24 +0000
commita7df59a0ac72bad5823e35b1bd765658d56a2b50 (patch)
tree493c09f3defa443e7f3dc3e1c837b19ff01adfe9 /engines/touche/touche.cpp
parentaf7c96cff19f8a53ac4d895fca87095f4768e112 (diff)
downloadscummvm-rg350-a7df59a0ac72bad5823e35b1bd765658d56a2b50.tar.gz
scummvm-rg350-a7df59a0ac72bad5823e35b1bd765658d56a2b50.tar.bz2
scummvm-rg350-a7df59a0ac72bad5823e35b1bd765658d56a2b50.zip
TOUCHE: Fixed Uninitialised Read in first call to ToucheEngine::res_loadBackdrop().
svn-id: r55385
Diffstat (limited to 'engines/touche/touche.cpp')
-rw-r--r--engines/touche/touche.cpp2
1 files changed, 2 insertions, 0 deletions
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) {