diff options
author | Strangerke | 2015-11-24 21:47:53 +0100 |
---|---|---|
committer | Strangerke | 2015-11-24 21:47:53 +0100 |
commit | 76c227b2eb75afd2742294cd7b4e2b2cb4161ef8 (patch) | |
tree | 5849672a2588422c8158eb48e4d6c580de207c16 /engines/mads/phantom/phantom_scenes1.cpp | |
parent | f8581f9e6a2316979ac572c9c0fdbb22a06f4dfc (diff) | |
download | scummvm-rg350-76c227b2eb75afd2742294cd7b4e2b2cb4161ef8.tar.gz scummvm-rg350-76c227b2eb75afd2742294cd7b4e2b2cb4161ef8.tar.bz2 scummvm-rg350-76c227b2eb75afd2742294cd7b4e2b2cb4161ef8.zip |
MADS: Refactor camera code
Diffstat (limited to 'engines/mads/phantom/phantom_scenes1.cpp')
-rw-r--r-- | engines/mads/phantom/phantom_scenes1.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/mads/phantom/phantom_scenes1.cpp b/engines/mads/phantom/phantom_scenes1.cpp index 7bde27777a..61d32d3f25 100644 --- a/engines/mads/phantom/phantom_scenes1.cpp +++ b/engines/mads/phantom/phantom_scenes1.cpp @@ -5708,22 +5708,22 @@ void Scene109::enter() { void Scene109::step() { if (_anim0ActvFl) { if (_scene->_animation[_globals._animationIndexes[0]]->getCurrentFrame() == 80) - _game.camPanTo(&_game._camY, 156); + _game._camY.camPanTo(156); } if (_anim1ActvFl) { if (_scene->_animation[_globals._animationIndexes[1]]->getCurrentFrame() == 80) - _game.camPanTo(&_game._camY, 0); + _game._camY.camPanTo(0); } if (_anim2ActvFl) { if (_scene->_animation[_globals._animationIndexes[2]]->getCurrentFrame() == 7) - _game.camPanTo(&_game._camY, 312); + _game._camY.camPanTo(312); } if (_anim3ActvFl) { if (_scene->_animation[_globals._animationIndexes[3]]->getCurrentFrame() == 14) - _game.camPanTo(&_game._camY, 156); + _game._camY.camPanTo(156); } switch (_game._trigger) { |