From e808cdf7a08d641389ecc81063b3b1016c7bc8cf Mon Sep 17 00:00:00 2001 From: Christopher Page Date: Wed, 9 Jul 2008 02:27:05 +0000 Subject: Reimplemented pushEvent() and artificialEventQueue to work with Events instead of EventTypes. Reimplemented Queue as a List instead of Array. Updated AGOS, AGI, CINE, GOB, and KYRA to work with the current implementation of the GMM svn-id: r32971 --- engines/agos/gfx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/agos/gfx.cpp') diff --git a/engines/agos/gfx.cpp b/engines/agos/gfx.cpp index e39b7c9ea4..bc8457aef9 100644 --- a/engines/agos/gfx.cpp +++ b/engines/agos/gfx.cpp @@ -1264,7 +1264,7 @@ void AGOSEngine::setWindowImageEx(uint16 mode, uint16 vga_res) { if (getGameType() == GType_WW && (mode == 6 || mode == 8 || mode == 9)) { setWindowImage(mode, vga_res); } else { - while (_copyScnFlag && !_eventMan->shouldQuit()) + while (_copyScnFlag && !quit()) delay(1); setWindowImage(mode, vga_res); -- cgit v1.2.3