aboutsummaryrefslogtreecommitdiff
path: root/engines/draci
diff options
context:
space:
mode:
Diffstat (limited to 'engines/draci')
-rw-r--r--engines/draci/script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/draci/script.cpp b/engines/draci/script.cpp
index cac8b0f7d4..17cdefe009 100644
--- a/engines/draci/script.cpp
+++ b/engines/draci/script.cpp
@@ -566,7 +566,7 @@ void Script::talk(Common::Queue<int> &params) {
// Set speech text coordinates
int x = surface->centerOnX(person->_x, speechFrame->getWidth());
- int y = surface->centerOnX(person->_y, speechFrame->getHeight() * 2);
+ int y = surface->centerOnY(person->_y, speechFrame->getHeight() * 2);
speechFrame->setX(x);
speechFrame->setY(y);