mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-28 04:34:50 +00:00
Fixed second call to Surface::centerOnX() (should have been centerOnY()).
svn-id: r43058
This commit is contained in:
parent
71dbb75031
commit
88276e91d9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user