mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-20 08:48:13 +00:00
Revert string clipping changes, as they only applied to The Dig (Second release) and COMI.
svn-id: r31785
This commit is contained in:
parent
bad36eaa61
commit
acc232718f
@ -485,15 +485,6 @@ void ScummEngine::CHARSET_1() {
|
|||||||
_string[0].ypos = _screenHeight - 40;
|
_string[0].ypos = _screenHeight - 40;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_game.version >= 6) {
|
|
||||||
if (_string[0].ypos < 10)
|
|
||||||
_string[0].ypos = 10;
|
|
||||||
|
|
||||||
if (_string[0].xpos < 5)
|
|
||||||
_string[0].xpos = 5;
|
|
||||||
if (_string[0].xpos > _screenWidth - 10)
|
|
||||||
_string[0].xpos = _screenWidth - 10;
|
|
||||||
} else {
|
|
||||||
if (_string[0].ypos < 1)
|
if (_string[0].ypos < 1)
|
||||||
_string[0].ypos = 1;
|
_string[0].ypos = 1;
|
||||||
|
|
||||||
@ -503,8 +494,6 @@ void ScummEngine::CHARSET_1() {
|
|||||||
_string[0].xpos = _screenWidth - 80;
|
_string[0].xpos = _screenWidth - 80;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
_charset->_top = _string[0].ypos + _screenTop;
|
_charset->_top = _string[0].ypos + _screenTop;
|
||||||
_charset->_startLeft = _charset->_left = _string[0].xpos;
|
_charset->_startLeft = _charset->_left = _string[0].xpos;
|
||||||
_charset->_right = _string[0].right;
|
_charset->_right = _string[0].right;
|
||||||
|
Loading…
Reference in New Issue
Block a user