diff options
author | johndoe123 | 2015-12-11 23:02:00 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2018-07-20 06:43:33 +0000 |
commit | 0589588b7bb117e5a6aa29f66b12507430a9054c (patch) | |
tree | 134718740b2fd2397e1cfa6775c9ef04bf45eea0 /engines/illusions/textdrawer.cpp | |
parent | 6ca6fb605d96e0088f4883879e790515d40a4245 (diff) | |
download | scummvm-rg350-0589588b7bb117e5a6aa29f66b12507430a9054c.tar.gz scummvm-rg350-0589588b7bb117e5a6aa29f66b12507430a9054c.tar.bz2 scummvm-rg350-0589588b7bb117e5a6aa29f66b12507430a9054c.zip |
ILLUSIONS: BBDOU: Implement credits code and adjust existing code
Diffstat (limited to 'engines/illusions/textdrawer.cpp')
-rw-r--r-- | engines/illusions/textdrawer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/illusions/textdrawer.cpp b/engines/illusions/textdrawer.cpp index f1c93c7c80..2456fe433c 100644 --- a/engines/illusions/textdrawer.cpp +++ b/engines/illusions/textdrawer.cpp @@ -114,6 +114,8 @@ bool TextDrawer::wrapTextIntern(int16 x, int16 y, int16 maxWidth, int16 maxHeigh if (_textFlags & 2) { textPosX = (_dimensions->_width - currLineWidth) / 2; maxLineWidth = _dimensions->_width; + } else if (_textFlags & 4) { + textPosX = _dimensions->_width - currLineWidth; } else { textPosX = x; } |