diff options
Diffstat (limited to 'engines/sky/logic.cpp')
-rw-r--r-- | engines/sky/logic.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/sky/logic.cpp b/engines/sky/logic.cpp index 773e64ae97..0242b2a99e 100644 --- a/engines/sky/logic.cpp +++ b/engines/sky/logic.cpp @@ -2525,8 +2525,7 @@ void Logic::stdSpeak(Compact *target, uint32 textNum, uint32 animNum, uint32 bas int x = target->xcood - TOP_LEFT_X; int y = target->ycood - TOP_LEFT_Y; // TODO: Make the box size change based on the object that has the focus - Common::Rect rect(x - 96, y - 64, x + 96, y + 64); - _skyScreen->setFocusRectangle(rect); + _skyScreen->setFocusRectangle(Common::Rect::center(x, y, 192, 128)); if ((SkyEngine::_systemVars.systemFlags & SF_ALLOW_TEXT) || !speechFileFound) { |