aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/charset-fontdata.cpp
diff options
context:
space:
mode:
authorTravis Howell2009-02-07 01:11:51 +0000
committerTravis Howell2009-02-07 01:11:51 +0000
commitb2332744e4ccf9d0e19a7b1c46a4a66f46a453e4 (patch)
tree3bd00d744d829bc4dca5cdc491202ce6dd4079fa /engines/agos/charset-fontdata.cpp
parent341873c9d3c1f4742c6bb2ccf9a4435c09930c7e (diff)
downloadscummvm-rg350-b2332744e4ccf9d0e19a7b1c46a4a66f46a453e4.tar.gz
scummvm-rg350-b2332744e4ccf9d0e19a7b1c46a4a66f46a453e4.tar.bz2
scummvm-rg350-b2332744e4ccf9d0e19a7b1c46a4a66f46a453e4.zip
Cleanup.
svn-id: r36228
Diffstat (limited to 'engines/agos/charset-fontdata.cpp')
-rw-r--r--engines/agos/charset-fontdata.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agos/charset-fontdata.cpp b/engines/agos/charset-fontdata.cpp
index fb161868b8..9582a2c7f5 100644
--- a/engines/agos/charset-fontdata.cpp
+++ b/engines/agos/charset-fontdata.cpp
@@ -1580,7 +1580,7 @@ void AGOSEngine::windowDrawChar(WindowBlock *window, uint x, uint y, byte chr) {
if (getGameType() == GType_FF || getGameType() == GType_PP) {
dst = getBackGround() + y * _dxSurfacePitch + x + window->textColumnOffset;
h = 13;
- w = feebleFontSize[chr - 32];
+ w = feebleFontSize[chr - 32];
src = feeble_windowFont + (chr - 32) * 13;
} else if (getGameType() == GType_SIMON1 || getGameType() == GType_SIMON2) {
@@ -1643,7 +1643,7 @@ void AGOSEngine::windowDrawChar(WindowBlock *window, uint x, uint y, byte chr) {
}
}
- color = window->text_color;
+ color = window->textColor;
if (getGameType() == GType_ELVIRA2 || getGameType() == GType_WW)
color += dst[0] & 0xF0;