mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
more fixes
svn-id: r4888
This commit is contained in:
+2
-2
@@ -219,7 +219,7 @@ void Scumm::CHARSET_1()
|
||||
|
||||
if (a && string[0].overhead != 0) {
|
||||
if (!(_features & GF_AFTER_V6)) {
|
||||
string[0].xpos = a->x - camera._cur.x + 160;
|
||||
string[0].xpos = a->x - camera._cur.x + (_vm->_realWidth / 2);
|
||||
|
||||
if (_vars[VAR_V5_TALK_STRING_Y] < 0) {
|
||||
s = (a->scaley * (int)_vars[VAR_V5_TALK_STRING_Y]) / 0xFF;
|
||||
@@ -451,7 +451,7 @@ void Scumm::description()
|
||||
|
||||
buffer = charset._buffer + charset._bufPos;
|
||||
string[0].ypos = camera._cur.y + 88;
|
||||
string[0].xpos = 160 - (charset.getStringWidth(0, buffer, 0) >> 1);
|
||||
string[0].xpos = (_vm->_realWidth / 2) - (charset.getStringWidth(0, buffer, 0) >> 1);
|
||||
if (string[0].xpos < 0)
|
||||
string[0].xpos = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user