From 2d41bae7321b671cf9a2b7cc8e3ea7c7d0fefd1d Mon Sep 17 00:00:00 2001 From: Strangerke Date: Sun, 21 Apr 2013 13:45:31 +0200 Subject: HUGO: Add missing initializations in intro constructors. CID 1002884 and 1002885 --- engines/hugo/intro.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engines/hugo/intro.cpp b/engines/hugo/intro.cpp index f2ae06eb39..505e356049 100644 --- a/engines/hugo/intro.cpp +++ b/engines/hugo/intro.cpp @@ -41,6 +41,7 @@ namespace Hugo { IntroHandler::IntroHandler(HugoEngine *vm) : _vm(vm), _introX(0), _introY(0) { _introXSize = 0; + _introTicks = 0; } IntroHandler::~IntroHandler() { @@ -76,6 +77,7 @@ void IntroHandler::freeIntroData() { } intro_v1d::intro_v1d(HugoEngine *vm) : IntroHandler(vm) { + _introState = 0; } intro_v1d::~intro_v1d() { -- cgit v1.2.3