diff options
author | Strangerke | 2013-04-21 13:45:31 +0200 |
---|---|---|
committer | Strangerke | 2013-04-21 13:46:10 +0200 |
commit | 2d41bae7321b671cf9a2b7cc8e3ea7c7d0fefd1d (patch) | |
tree | 19fb2de50ba22ebcd0ff65895af32a15309c46d9 /engines | |
parent | b40430bc4b199027588c29045c052b20c70240b8 (diff) | |
download | scummvm-rg350-2d41bae7321b671cf9a2b7cc8e3ea7c7d0fefd1d.tar.gz scummvm-rg350-2d41bae7321b671cf9a2b7cc8e3ea7c7d0fefd1d.tar.bz2 scummvm-rg350-2d41bae7321b671cf9a2b7cc8e3ea7c7d0fefd1d.zip |
HUGO: Add missing initializations in intro constructors. CID 1002884 and 1002885
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hugo/intro.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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() { |