From d9d77fef03bef824f5ec9f2396ac41586249b9da Mon Sep 17 00:00:00 2001 From: Kari Salminen Date: Fri, 22 Aug 2008 12:11:51 +0000 Subject: Designate fix for bug #2057619 as a hack, as that's what it is. svn-id: r34102 --- engines/cine/anim.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/engines/cine/anim.cpp b/engines/cine/anim.cpp index d034469879..e628c4512e 100644 --- a/engines/cine/anim.cpp +++ b/engines/cine/anim.cpp @@ -585,10 +585,10 @@ int loadAni(const char *resourceName, int16 idx) { transparentColor = getAnimTransparentColor(resourceName); - // TODO: Merge this special case into getAnimTransparentColor somehow. - // Versions of TITRE.ANI with height 37 use color 0xF for transparency. - // Versions of TITRE.ANI with height 57 use color 0x0 for transparency. - // Fixes bug #2057619: FW: Glitches in title display of demo (regression). + // TODO: Merge this special case hack into getAnimTransparentColor somehow. + // HACK: Versions of TITRE.ANI with height 37 use color 0xF for transparency. + // Versions of TITRE.ANI with height 57 use color 0x0 for transparency. + // Fixes bug #2057619: FW: Glitches in title display of demo (regression). if (scumm_stricmp(resourceName, "TITRE.ANI") == 0 && animHeader.frameHeight == 37) { transparentColor = 0xF; } -- cgit v1.2.3