aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKari Salminen2008-08-22 12:11:51 +0000
committerKari Salminen2008-08-22 12:11:51 +0000
commitd9d77fef03bef824f5ec9f2396ac41586249b9da (patch)
treefaf2d86839565b24c5ec48f95b32410ca6683da6
parent16e02f051d88c04c4a3eb7fbe319bb6b338d79ae (diff)
downloadscummvm-rg350-d9d77fef03bef824f5ec9f2396ac41586249b9da.tar.gz
scummvm-rg350-d9d77fef03bef824f5ec9f2396ac41586249b9da.tar.bz2
scummvm-rg350-d9d77fef03bef824f5ec9f2396ac41586249b9da.zip
Designate fix for bug #2057619 as a hack, as that's what it is.
svn-id: r34102
-rw-r--r--engines/cine/anim.cpp8
1 files 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;
}