aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorBenjamin Haisch2009-12-11 07:57:37 +0000
committerWillem Jan Palenstijn2011-11-20 22:43:08 +0100
commit54cb86950c3fd456d873ab43ff527fda294ad50e (patch)
tree1d2f1290d43894222e39db4f1f6cd05985a01abf /engines
parent145a696fe0a92a7ba914a14428f2ab526ad04531 (diff)
downloadscummvm-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)
Diffstat (limited to 'engines')
-rw-r--r--engines/toltecs/screen.cpp5
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--) {