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; }