mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-25 15:54:31 +01:00
* Renamed All Instance of G1_FLAG_BMP Renamed all instances of G1_FLAG_BMP to GA_FLAG_HAS_TRANSPARENCY * Fixed comments and labels Fixed comments and labels to be more in line with new definitions
This commit is contained in:
@@ -102,7 +102,7 @@ void FASTCALL gfx_bmp_sprite_to_buffer(rct_drawpixelinfo& dpi, const DrawSpriteA
|
||||
// Used for glass.
|
||||
DrawBMPSprite<BLEND_TRANSPARENT | BLEND_DST>(dpi, args);
|
||||
}
|
||||
else if (!(args.SourceImage.flags & G1_FLAG_BMP))
|
||||
else if (!(args.SourceImage.flags & G1_FLAG_HAS_TRANSPARENCY))
|
||||
{
|
||||
// Copy raw bitmap data to target
|
||||
DrawBMPSprite<BLEND_NONE>(dpi, args);
|
||||
|
||||
Reference in New Issue
Block a user