mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-15 16:58:01 +00:00
MADS: Phantom: reduce the scope of a variable
This commit is contained in:
parent
767ce0ddc0
commit
92b63ca70a
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user