aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sword2')
-rw-r--r--engines/sword2/function.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/sword2/function.cpp b/engines/sword2/function.cpp
index f09ca0cd1b..99211c3ece 100644
--- a/engines/sword2/function.cpp
+++ b/engines/sword2/function.cpp
@@ -925,8 +925,7 @@ int32 Logic::fnISpeak(int32 *params) {
// position.
if (_animId) {
- Common::Rect rect(_textX - 96, _textY - 64, _textX + 96, _textY + 64);
- _vm->_system->setFocusRectangle(rect);
+ _vm->_system->setFocusRectangle(Common::Rect::center(_textX, _textY, 192, 128));
}
// Is it to be speech or subtitles or both?