Some minor changes.

This commit is contained in:
spartanj
2011-03-09 13:59:11 -03:00
parent 89dc42c352
commit a8a61e4f16
14 changed files with 73 additions and 68 deletions

View File

@@ -127,14 +127,17 @@ void cFont::Draw( cTextCache& TextCache, const eeFloat& X, const eeFloat& Y, con
if ( Flags & FONT_DRAW_SHADOW ) {
Uint32 f = Flags;
f &= ~FONT_DRAW_SHADOW;
eeColorA Col = mColor;
/** FIXME: Cache shadows? */
SetText( TextCache.Text() );
Color( mShadowColor );
Draw( TextCache, X + 1, Y + 1, f, Scale, Angle, Effect );
Color( Col );
}