mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +00:00
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:
parent
5d72a614ec
commit
7746321ed6
@ -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();
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user