diff options
author | Torbjörn Andersson | 2008-08-03 09:51:13 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2008-08-03 09:51:13 +0000 |
commit | e8cee7823d5c2087c4a6bfde04c350d16c56774d (patch) | |
tree | 9ed9cf588cf481e71adbe6d78e29b33a8550e8cf /engines | |
parent | dcecff4829b30471cd230c03fe4c75c5d1f4b31b (diff) | |
download | scummvm-rg350-e8cee7823d5c2087c4a6bfde04c350d16c56774d.tar.gz scummvm-rg350-e8cee7823d5c2087c4a6bfde04c350d16c56774d.tar.bz2 scummvm-rg350-e8cee7823d5c2087c4a6bfde04c350d16c56774d.zip |
Fixed bug #1995022 ("BASS: wrong displayed 2 line text").
svn-id: r33568
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sky/logic.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sky/logic.cpp b/engines/sky/logic.cpp index ed7e419f64..c6c6c34c4d 100644 --- a/engines/sky/logic.cpp +++ b/engines/sky/logic.cpp @@ -1774,6 +1774,7 @@ bool Logic::fnChooser(uint32 a, uint32 b, uint32 c) { uint32 size = ((dataFileHeader *)data)->s_height * ((dataFileHeader *)data)->s_width; uint32 index = 0; uint32 width = ((dataFileHeader *)data)->s_width; + uint32 height = ((dataFileHeader *)data)->s_height; data += sizeof(dataFileHeader); @@ -1794,7 +1795,7 @@ bool Logic::fnChooser(uint32 a, uint32 b, uint32 c) { textCompact->xcood = TOP_LEFT_X; // set coordinates textCompact->ycood = ycood; - ycood += 12; + ycood += height; } if (p == _scriptVariables + TEXT1) |