aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/glk/frotz/processor_windows.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/glk/frotz/processor_windows.cpp b/engines/glk/frotz/processor_windows.cpp
index 517296cdd2..3508bca6fc 100644
--- a/engines/glk/frotz/processor_windows.cpp
+++ b/engines/glk/frotz/processor_windows.cpp
@@ -49,8 +49,9 @@ void Processor::z_draw_picture() {
flush_buffer();
Window &win = _wp[_wp._cwin];
- if (_wp._cwin == 0) {
- // Embedded picture within the text area
+ if (_storyId == ZORK_ZERO && _wp._cwin == 0) {
+ // WORKAROUND: Zork Zero has pictures for graphics embedded in the text with specific
+ // co-prdinates. We need to reset it to 0,0 to flag it should be drawn at the cursor
x = y = 0;
} else {
assert(x && y);