aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/screen.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2018-12-31 18:58:46 -0800
committerPaul Gilbert2018-12-31 18:58:46 -0800
commit3d19a27d04483e0c4de1c32e301ac49485793f53 (patch)
tree813329f9bf4a2102d28ae5a042a133b2c8a109da /engines/glk/screen.cpp
parent1021da132b2ed37232461c1ff44b78164b0a4ee5 (diff)
downloadscummvm-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.cpp2
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));