SCI: calling wait() directly and removing it from SciGui
svn-id: r49853
This commit is contained in:
parent
a21b9c7b96
commit
af5346e7ab
5 changed files with 7 additions and 21 deletions
|
@ -182,7 +182,7 @@ void Portrait::doit(Common::Point position, uint16 resourceId, uint16 noun, uint
|
|||
|
||||
// Wait till syncTime passed, then show specific animation bitmap
|
||||
do {
|
||||
_gui->wait(1);
|
||||
g_sci->getEngineState()->wait(1);
|
||||
curEvent = _event->get(SCI_EVENT_ANY);
|
||||
if (curEvent.type == SCI_EVENT_MOUSE_PRESS ||
|
||||
(curEvent.type == SCI_EVENT_KEYBOARD && curEvent.data == SCI_KEY_ESC) ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue