diff options
author | Benjamin Haisch | 2009-12-11 07:57:37 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2011-11-20 22:43:08 +0100 |
commit | 54cb86950c3fd456d873ab43ff527fda294ad50e (patch) | |
tree | 1d2f1290d43894222e39db4f1f6cd05985a01abf | |
parent | 145a696fe0a92a7ba914a14428f2ab526ad04531 (diff) | |
download | scummvm-rg350-54cb86950c3fd456d873ab43ff527fda294ad50e.tar.gz scummvm-rg350-54cb86950c3fd456d873ab43ff527fda294ad50e.tar.bz2 scummvm-rg350-54cb86950c3fd456d873ab43ff527fda294ad50e.zip |
TOLTECS: Fixed odd bug in drawChar (I subtracted 2 from the font height before, though I don't recall why exactly I did that; now I use the font height as-is)
-rw-r--r-- | engines/toltecs/screen.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/toltecs/screen.cpp b/engines/toltecs/screen.cpp index 1abb057d4f..6ac916e24c 100644 --- a/engines/toltecs/screen.cpp +++ b/engines/toltecs/screen.cpp @@ -617,10 +617,11 @@ void Screen::drawChar(const Font &font, byte *dest, int16 x, int16 y, byte ch, b int16 charWidth, charHeight; byte *charData; - dest += x + (y * 640); + dest += x + y * 640; charWidth = font.getCharWidth(ch); - charHeight = font.getHeight() - 2; + //charHeight = font.getHeight() - 2;//Why was this here?! + charHeight = font.getHeight(); charData = font.getCharData(ch); while (charHeight--) { |