diff options
author | Denis Kasak | 2009-08-05 00:05:36 +0000 |
---|---|---|
committer | Denis Kasak | 2009-08-05 00:05:36 +0000 |
commit | 88276e91d97b5c1d7c55ff440ba945db27a80980 (patch) | |
tree | caf8b5334580308a6eee56bbcdd6661463c0d1bf /engines/draci | |
parent | 71dbb75031622432f94c38c4024c4253033d3747 (diff) | |
download | scummvm-rg350-88276e91d97b5c1d7c55ff440ba945db27a80980.tar.gz scummvm-rg350-88276e91d97b5c1d7c55ff440ba945db27a80980.tar.bz2 scummvm-rg350-88276e91d97b5c1d7c55ff440ba945db27a80980.zip |
Fixed second call to Surface::centerOnX() (should have been centerOnY()).
svn-id: r43058
Diffstat (limited to 'engines/draci')
-rw-r--r-- | engines/draci/script.cpp | 2 |
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> ¶ms) { // 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); |