SCI: calling wait() directly and removing it from SciGui

svn-id: r49853
This commit is contained in:
Martin Kiewitz 2010-06-15 13:14:23 +00:00
parent a21b9c7b96
commit af5346e7ab
5 changed files with 7 additions and 21 deletions

View file

@ -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) ||