diff --git a/src/textures/image.cpp b/src/textures/image.cpp index 04d0833c0e..f047b8137b 100644 --- a/src/textures/image.cpp +++ b/src/textures/image.cpp @@ -269,6 +269,7 @@ FBitmap FImageSource::GetCachedBitmap(PalEntry *remap, int conversion, int *ptra } } } + if (ptrans) *ptrans = trans; return ret; }