Skip to content

Commit

Permalink
HUGO: Add missing initializations in intro constructors. CID 1002884 …
Browse files Browse the repository at this point in the history
…and 1002885
  • Loading branch information
Strangerke committed Apr 21, 2013
1 parent b40430b commit 2d41bae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions engines/hugo/intro.cpp
Expand Up @@ -41,6 +41,7 @@ namespace Hugo {

IntroHandler::IntroHandler(HugoEngine *vm) : _vm(vm), _introX(0), _introY(0) {
_introXSize = 0;
_introTicks = 0;
}

IntroHandler::~IntroHandler() {
Expand Down Expand Up @@ -76,6 +77,7 @@ void IntroHandler::freeIntroData() {
}

intro_v1d::intro_v1d(HugoEngine *vm) : IntroHandler(vm) {
_introState = 0;
}

intro_v1d::~intro_v1d() {
Expand Down

0 comments on commit 2d41bae

Please sign in to comment.