From 2bbf25e948122d8ef9264a50d5cdb9c6c87f61c9 Mon Sep 17 00:00:00 2001 From: uruk Date: Mon, 12 Aug 2013 14:27:36 +0200 Subject: AVALANCHE: Repair Scrolls::bubble(). --- engines/avalanche/scrolls2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/avalanche/scrolls2.cpp b/engines/avalanche/scrolls2.cpp index 50254b5130..c8f20b5f6f 100644 --- a/engines/avalanche/scrolls2.cpp +++ b/engines/avalanche/scrolls2.cpp @@ -542,7 +542,7 @@ void Scrolls::bubble(func2 gotoit) { // The font is not the same that outtextxy() uses in Pascal. I don't have that, so I used Gyro::characters instead. // It's almost the same, only notable differences are '?', '!', etc. for (fv = 0; fv < _vm->_gyro->scrolln; fv++) { - int16 x = _vm->_gyro->talkx - _vm->_gyro->scroll[fv].size() / 2 * 8; + int16 x = xc + _vm->_gyro->talkx - _vm->_gyro->scroll[fv].size() / 2 * 8; bool offset = _vm->_gyro->scroll[fv].size() % 2; _vm->_graphics->drawText(_vm->_graphics->_scrolls, _vm->_gyro->scroll[fv], _vm->_gyro->characters, 8, x - offset * 4, (fv * 10) + 12, _vm->_gyro->talkf); } -- cgit v1.2.3