From b2332744e4ccf9d0e19a7b1c46a4a66f46a453e4 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sat, 7 Feb 2009 01:11:51 +0000 Subject: Cleanup. svn-id: r36228 --- engines/agos/charset-fontdata.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/agos/charset-fontdata.cpp') 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; -- cgit v1.2.3