diff options
author | Strangerke | 2015-11-24 17:06:45 +0100 |
---|---|---|
committer | Strangerke | 2015-11-24 17:06:45 +0100 |
commit | 321d6cffa55926f53e0f61075d3efea3f264ff53 (patch) | |
tree | 873ae9448b29b05a6ab7edb1a0a87eed1551a2d5 /engines | |
parent | c620f1076dc50106350c881278ffba49b8c61c6f (diff) | |
download | scummvm-rg350-321d6cffa55926f53e0f61075d3efea3f264ff53.tar.gz scummvm-rg350-321d6cffa55926f53e0f61075d3efea3f264ff53.tar.bz2 scummvm-rg350-321d6cffa55926f53e0f61075d3efea3f264ff53.zip |
MADS: Phantom: Remove dead code in scene 310
Diffstat (limited to 'engines')
-rw-r--r-- | engines/mads/phantom/phantom_scenes3.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/engines/mads/phantom/phantom_scenes3.cpp b/engines/mads/phantom/phantom_scenes3.cpp index 33d569dec3..bb9bcee80c 100644 --- a/engines/mads/phantom/phantom_scenes3.cpp +++ b/engines/mads/phantom/phantom_scenes3.cpp @@ -2680,9 +2680,7 @@ void Scene310::handleLakeAnimation() { if (_scene->_animation[_globals._animationIndexes[0]]->getCurrentFrame() == _lakeFrame) return; - _lakeFrame = _scene->_animation[_globals._animationIndexes[0]]->getCurrentFrame(); - int resetFrame = -1; int id; switch (_lakeFrame) { @@ -2761,11 +2759,6 @@ void Scene310::handleLakeAnimation() { default: break; } - - if (resetFrame >= 0) { - _scene->setAnimFrame(_globals._animationIndexes[0], resetFrame); - _lakeFrame = resetFrame; - } } /*------------------------------------------------------------------------*/ |