diff options
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/graphics/text32.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/sci/graphics/text32.cpp b/engines/sci/graphics/text32.cpp index 1939baeb06..85ede02239 100644 --- a/engines/sci/graphics/text32.cpp +++ b/engines/sci/graphics/text32.cpp @@ -123,8 +123,10 @@ void GfxText32::drawTextBitmap(reg_t textObject) { int curByte = 0; Common::Rect nsRect = getNSRect(textObject); Common::Rect planeRect = getPlaneRect(textObject); - uint16 textX = planeRect.left + nsRect.left; - uint16 textY = planeRect.top + nsRect.top; + uint16 x = readSelectorValue(_segMan, textObject, SELECTOR(x)); + uint16 y = readSelectorValue(_segMan, textObject, SELECTOR(y)); + uint16 textX = planeRect.left + x; + uint16 textY = planeRect.top + y; uint16 width = nsRect.width(); uint16 height = nsRect.height(); |