From 8ed39a2b9e54bb46973a2c9b7f8c5bfb4964bd5c Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Tue, 27 Dec 2011 19:37:12 +0100 Subject: [PATCH] DREAMWEB: Fix uninitialized variable --- engines/dreamweb/dreamweb.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/engines/dreamweb/dreamweb.cpp b/engines/dreamweb/dreamweb.cpp index fa9bece268b..d90cd6aaca9 100644 --- a/engines/dreamweb/dreamweb.cpp +++ b/engines/dreamweb/dreamweb.cpp @@ -420,6 +420,9 @@ DreamBase::DreamBase(DreamWeb::DreamWebEngine *en) : engine(en) { _quitRequested = false; _currentSample = 0xff; + + _oldSubject._type = 0; + _oldSubject._index = 0; } } // End of namespace DreamGen