From ece101ee4a5c9623eb030f5c96ef2bfa2401bdb3 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 4 Jan 2019 23:14:19 -0800 Subject: GLK: FROTZ: Only wait for keypress in Beyond Zork title if mg1 present --- engines/glk/glk_api.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engines/glk/glk_api.cpp') diff --git a/engines/glk/glk_api.cpp b/engines/glk/glk_api.cpp index 6e0f33ea56..329f4e9b08 100644 --- a/engines/glk/glk_api.cpp +++ b/engines/glk/glk_api.cpp @@ -896,9 +896,9 @@ bool GlkAPI::glk_image_draw(winid_t win, uint image, int val1, int val2) { GraphicsWindow *gfxWin = dynamic_cast(win); if (textWin) - textWin->drawPicture(image, val1, false, 0, 0); + return textWin->drawPicture(image, val1, false, 0, 0); else if (gfxWin) - gfxWin->drawPicture(image, val1, val2, false, 0, 0); + return gfxWin->drawPicture(image, val1, val2, false, 0, 0); } return false; @@ -913,9 +913,9 @@ bool GlkAPI::glk_image_draw_scaled(winid_t win, uint image, int val1, int val2, GraphicsWindow *gfxWin = dynamic_cast(win); if (textWin) - textWin->drawPicture(image, val1, true, width, height); + return textWin->drawPicture(image, val1, true, width, height); else if (gfxWin) - gfxWin->drawPicture(image, val1, val2, true, width, height); + return gfxWin->drawPicture(image, val1, val2, true, width, height); } return false; -- cgit v1.2.3