diff options
Diffstat (limited to 'engines/mutationofjb/game.cpp')
-rw-r--r-- | engines/mutationofjb/game.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/mutationofjb/game.cpp b/engines/mutationofjb/game.cpp index 24159254df..69647f2ef3 100644 --- a/engines/mutationofjb/game.cpp +++ b/engines/mutationofjb/game.cpp @@ -100,7 +100,9 @@ Script *Game::changeSceneLoadScript(uint8 sceneId, bool partB) { _gameData->_lastScene = _gameData->_currentScene; _gameData->_currentScene = sceneId; _gameData->_partB = partB; + _room->load(_gameData->_currentScene, partB); + _room->redraw(); EncryptedFile scriptFile; Common::String fileName = Common::String::format("scrn%d%s.atn", sceneId, partB ? "b" : ""); @@ -180,6 +182,7 @@ void Game::update() { } _gui.update(); + _taskManager.update(); } Gui &Game::getGui() { @@ -227,4 +230,9 @@ Assets& Game::getAssets() { return _assets; } +Graphics::Screen &Game::getScreen() +{ + return *_vm->getScreen(); +} + } |