diff options
-rw-r--r-- | engines/director/frame.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/director/frame.cpp b/engines/director/frame.cpp index 1dce3113da..68c7cdd03d 100644 --- a/engines/director/frame.cpp +++ b/engines/director/frame.cpp @@ -911,7 +911,7 @@ void Frame::renderText(Graphics::ManagedSurface &surface, uint16 spriteId, Commo textY += padding / 2; } - if (textCast->textAlign == kTextAlignRight) + if (textCast->textAlign == kTextAlignRight) textX -= 1; if (textShadow > 0) @@ -950,7 +950,7 @@ void Frame::renderText(Graphics::ManagedSurface &surface, uint16 spriteId, Commo textWithFeatures.transBlitFrom(textSurface->rawSurface(), Common::Point(textX + textShadow, textY + textShadow), 0xff); textWithFeatures.transBlitFrom(textSurface->rawSurface(), Common::Point(textX, textY), 0xff); - + inkBasedBlit(surface, textWithFeatures, spriteId, Common::Rect(x, y, x + width, y + height)); } |