diff options
Diffstat (limited to 'engines/igor/igor.cpp')
-rw-r--r-- | engines/igor/igor.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/engines/igor/igor.cpp b/engines/igor/igor.cpp index 8144cc670b..0581f6ddc3 100644 --- a/engines/igor/igor.cpp +++ b/engines/igor/igor.cpp @@ -88,13 +88,6 @@ IgorEngine::~IgorEngine() { delete _midiPlayer; } -Common::Error IgorEngine::init() { - initGraphics(320, 200, false); - - _mixer->setVolumeForSoundType(Audio::Mixer::kSFXSoundType, ConfMan.getInt("sfx_volume")); - return Common::kNoError; -} - void IgorEngine::restart() { _screenVGAVOffset = 0; @@ -166,7 +159,10 @@ void IgorEngine::restart() { _gameTicks = 0; } -Common::Error IgorEngine::go() { +Common::Error IgorEngine::run() { + initGraphics(320, 200, false); + _mixer->setVolumeForSoundType(Audio::Mixer::kSFXSoundType, ConfMan.getInt("sfx_volume")); + restart(); setupDefaultPalette(); _currentPart = ConfMan.getInt("boot_param"); |