NEVERHOOD: Fix crash in scene 1105 (teddy bear panel)

Leaving the panel in scene 1105 only worked if the panel was open.
If the panel was closed, nothing would happen on the first click,
and on the second it would crash. If I understood this correctly,
it was because trying to leave while the panel was closed would
(incorrectly) mark it as open, and then it would crash when trying
to remove the objects behind the panel from the scene.
This commit is contained in:
Torbjörn Andersson 2013-06-02 10:54:37 +02:00
parent f8c0d354af
commit 52be12830b

View File

@ -465,7 +465,7 @@ uint32 Scene1105::handleMessage(int messageNum, const MessageParam &param, Entit
_backgroundIndex = 15;
SetUpdateHandler(&Scene1105::upClosePanel);
} else
_isPanelOpen = true;
_isClosePanelDone = true;
_leaveResult = 0;
}
}