MADS: Phantom: reduce the scope of a variable

This commit is contained in:
Strangerke 2015-11-23 01:07:28 +01:00
parent 767ce0ddc0
commit 92b63ca70a

View File

@ -1495,8 +1495,6 @@ void Scene502::getPanelInfo(Common::Point *walkToPos, int *panel, Common::Point
}
void Scene502::handlePanelAnimation() {
int puzzleSolvedFl = true;
switch (_game._trigger) {
case 110:
_vm->_sound->command(65);
@ -1748,6 +1746,7 @@ void Scene502::handlePanelAnimation() {
break;
}
int puzzleSolvedFl = true;
for (int i = 0; i < 16; i++) {
if (_puzzlePictures[i] != 1)
puzzleSolvedFl = false;