From: Holger Schemel Date: Wed, 6 Dec 2023 19:56:57 +0000 (+0100) Subject: fixed resetting alpha value when preparing envelope request X-Git-Tag: 4.3.8.0~8 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=409606a4ce16949b8d7c0fb70a9488c7dae9b756;p=rocksndiamonds.git fixed resetting alpha value when preparing envelope request --- diff --git a/src/tools.c b/src/tools.c index a3aa3c34..9a82f346 100644 --- a/src/tools.c +++ b/src/tools.c @@ -3056,6 +3056,8 @@ static void PrepareEnvelopeRequestToScreen(Bitmap *bitmap, int sx, int sy, SDLFreeBitmapTextures(request.bitmap); SDLCreateBitmapTextures(request.bitmap); + ResetBitmapAlpha(request.bitmap); + // set envelope request run-time values request.sx = sx; request.sy = sy;