diff options
author | Robert Špalek | 2010-06-27 04:19:55 +0000 |
---|---|---|
committer | Robert Špalek | 2010-06-27 04:19:55 +0000 |
commit | ae332b620e13d554563a3a6f9b435ebde6761f7a (patch) | |
tree | a3810a41d2c2c8cfd8d138a54cff6cdb1b7da3b3 | |
parent | b161310193713f262dec017e11997ef77eac20c6 (diff) | |
download | scummvm-rg350-ae332b620e13d554563a3a6f9b435ebde6761f7a.tar.gz scummvm-rg350-ae332b620e13d554563a3a6f9b435ebde6761f7a.tar.bz2 scummvm-rg350-ae332b620e13d554563a3a6f9b435ebde6761f7a.zip |
Run possible cut-scenes before each location change.
This is the behavior of the original player. It is not necessary to click on
the hero.
svn-id: r50361
-rw-r--r-- | engines/draci/game.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/engines/draci/game.cpp b/engines/draci/game.cpp index 0e4b3386ec..23cb4700c1 100644 --- a/engines/draci/game.cpp +++ b/engines/draci/game.cpp @@ -174,8 +174,17 @@ void Game::start() { // Call the outer loop doing all the hard job. loop(kOuterLoop, false); - } + if (!isReloaded()) { + // We are changing location. Run the hero's LOOK + // program to trigger a possible cut-scene. This is + // the behavior of the original game player, whose + // intention was to run the cut sequences after the + // certain location change. + const GameObject *dragon = getObject(kDragonObject); + _vm->_script->run(dragon->_program, dragon->_look); + } + } } void Game::init() { |