diff options
Diffstat (limited to 'engines/hugo/intro_v1w.cpp')
-rw-r--r-- | engines/hugo/intro_v1w.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/engines/hugo/intro_v1w.cpp b/engines/hugo/intro_v1w.cpp index 38921fd3e4..923cd3658f 100644 --- a/engines/hugo/intro_v1w.cpp +++ b/engines/hugo/intro_v1w.cpp @@ -39,16 +39,17 @@ namespace Hugo { -intro_v1w::intro_v1w(HugoEngine &vm) : IntroHandler(vm) { +intro_v1w::intro_v1w(HugoEngine *vm) : IntroHandler(vm) { } intro_v1w::~intro_v1w() { } +/** +* Auto-start a new game +*/ void intro_v1w::preNewGame() { - // Auto-start a new game - _vm.file().restoreGame(-1); - _vm.getGameStatus().viewState = V_INTROINIT; + _vm->getGameStatus().viewState = V_INTROINIT; } void intro_v1w::introInit() { |