From d49851d12f9ead9e8d53c1c7059ff8d2fcb68bb4 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 5 Sep 2004 07:23:25 +0000 Subject: [PATCH] dumb fix --- stepmania/src/RageSurfaceUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/RageSurfaceUtils.cpp b/stepmania/src/RageSurfaceUtils.cpp index c4caa5a412..c564739852 100644 --- a/stepmania/src/RageSurfaceUtils.cpp +++ b/stepmania/src/RageSurfaceUtils.cpp @@ -319,7 +319,7 @@ int RageSurfaceUtils::FindSurfaceTraits( const RageSurface *img ) bool bHaveNonOpaque = false; for( int c = 0; !bHaveNonOpaque && c < img->format->palette->ncolors; ++c ) { - if( img->format->palette->colors[c].a != 256 ) + if( img->format->palette->colors[c].a != 0xFF ) bHaveNonOpaque = true; }