diff options
author | Paul Gilbert | 2018-12-31 18:58:46 -0800 |
---|---|---|
committer | Paul Gilbert | 2018-12-31 18:58:46 -0800 |
commit | 3d19a27d04483e0c4de1c32e301ac49485793f53 (patch) | |
tree | 813329f9bf4a2102d28ae5a042a133b2c8a109da /engines/glk/screen.cpp | |
parent | 1021da132b2ed37232461c1ff44b78164b0a4ee5 (diff) | |
download | scummvm-rg350-3d19a27d04483e0c4de1c32e301ac49485793f53.tar.gz scummvm-rg350-3d19a27d04483e0c4de1c32e301ac49485793f53.tar.bz2 scummvm-rg350-3d19a27d04483e0c4de1c32e301ac49485793f53.zip |
GLK: FROTZ: Fix rendering of Beyond Zork minimap
Diffstat (limited to 'engines/glk/screen.cpp')
-rw-r--r-- | engines/glk/screen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/glk/screen.cpp b/engines/glk/screen.cpp index 048b92f295..a4fcc63704 100644 --- a/engines/glk/screen.cpp +++ b/engines/glk/screen.cpp @@ -50,7 +50,7 @@ void Screen::initialize() { Common::Rect r1 = f->getBoundingBox('o'); Common::Rect r2 = f->getBoundingBox('y'); double baseLine = (double)r1.bottom; - double leading = (double)r2.bottom + 2; + double leading = (double)((idx == 0) ? r2.bottom : r2.bottom + 2); i->_leading = static_cast<int>(MAX((double)i->_leading, leading)); i->_baseLine = static_cast<int>(MAX((double)i->_baseLine, baseLine)); |