diff options
author | Paweł Kołodziejski | 2002-08-31 19:26:04 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2002-08-31 19:26:04 +0000 |
commit | 0559f7a6aacacede9fe5b45b1f8e064613d35db3 (patch) | |
tree | 57ea29b5cdb6ee7c849504a399629fb613bbb0d9 /scumm/string.cpp | |
parent | c1cbba1d652f694ef95996cfd574f6182c08eb28 (diff) | |
download | scummvm-rg350-0559f7a6aacacede9fe5b45b1f8e064613d35db3.tar.gz scummvm-rg350-0559f7a6aacacede9fe5b45b1f8e064613d35db3.tar.bz2 scummvm-rg350-0559f7a6aacacede9fe5b45b1f8e064613d35db3.zip |
and more fixes
svn-id: r4889
Diffstat (limited to 'scumm/string.cpp')
-rw-r--r-- | scumm/string.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp index 140094b31d..4bf0d75eeb 100644 --- a/scumm/string.cpp +++ b/scumm/string.cpp @@ -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 + (_vm->_realWidth / 2); + string[0].xpos = a->x - camera._cur.x + (_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 = (_vm->_realWidth / 2) - (charset.getStringWidth(0, buffer, 0) >> 1); + string[0].xpos = (_realWidth / 2) - (charset.getStringWidth(0, buffer, 0) >> 1); if (string[0].xpos < 0) string[0].xpos = 0; @@ -958,7 +958,7 @@ void CharsetRenderer::printChar(int chr) #if !defined(OLD) if (_blitAlso) - blit(_backbuff_ptr, _bgbak_ptr, _width, _height); + _vm->blit(_backbuff_ptr, _bgbak_ptr, _width, _height); #endif _left += _width; |