SAGA: Fix bug #1970191.

Bug #1970191: "IHNM: Psychic Profile problem". Still there is a
slight artefact. When the profile has 2 pages and is skipped,
there are two fade-ins in a row. It could be checked by analysing
event queue.

svn-id: r49698
This commit is contained in:
Eugene Sandulenko 2010-06-15 10:16:53 +00:00
parent 5d72a614ec
commit 7746321ed6
2 changed files with 3 additions and 0 deletions

View File

@ -1861,6 +1861,7 @@ void Interface::update(const Point& mousePoint, int updateFlag) {
if (updateFlag & UPDATE_MOUSECLICK) {
if (!_vm->isIHNMDemo()) {
_vm->_scene->clearPsychicProfile();
_vm->_script->wakeUpThreads(kWaitTypeDelay);
} else {
setMode(kPanelConverse);
_vm->_scene->_textList.clear();

View File

@ -1442,6 +1442,8 @@ void Scene::showPsychicProfile(const char *text) {
_vm->_interface->setMode(kPanelPlacard);
_vm->_gfx->savePalette();
_vm->_events->clearList();
event.type = kEvTOneshot;
event.code = kCursorEvent;
event.op = kEventHide;