Skip to content
Permalink
Browse files

GLK: FROTZ: Fix rendering of Beyond Zork minimap

  • Loading branch information...
dreammaster committed Jan 1, 2019
1 parent 1021da1 commit 3d19a27d04483e0c4de1c32e301ac49485793f53
Showing with 1 addition and 1 deletion.
  1. +1 −1 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));

0 comments on commit 3d19a27

Please sign in to comment.
You can’t perform that action at this time.