mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-22 10:17:22 +00:00
MADS: dragonsphere - Remove dead code in Scene102::step()
This commit is contained in:
parent
83a5ee43c2
commit
07f82d0b38
@ -305,12 +305,9 @@ void Scene102::enter() {
|
||||
}
|
||||
|
||||
void Scene102::step() {
|
||||
int resetFrame;
|
||||
|
||||
if ((_animRunning == 1) && _scene->_animation[_globals._animationIndexes[0]]) {
|
||||
if (_scene->_animation[_globals._animationIndexes[0]]->getCurrentFrame() != _diaryFrame) {
|
||||
_diaryFrame = _scene->_animation[_globals._animationIndexes[0]]->getCurrentFrame();
|
||||
resetFrame = -1;
|
||||
|
||||
switch (_diaryFrame) {
|
||||
case 6:
|
||||
@ -331,13 +328,6 @@ void Scene102::step() {
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
if (resetFrame >= 0) {
|
||||
if (resetFrame != _scene->_animation[_globals._animationIndexes[0]]->getCurrentFrame()) {
|
||||
_scene->setAnimFrame(_globals._animationIndexes[0], resetFrame);
|
||||
_diaryFrame = resetFrame;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user