diff --git a/desktop_version/src/Graphics.cpp b/desktop_version/src/Graphics.cpp index 814af1d5..0ed1c4f2 100644 --- a/desktop_version/src/Graphics.cpp +++ b/desktop_version/src/Graphics.cpp @@ -1048,7 +1048,9 @@ void Graphics::drawgui(void) TextboxSprite* sprite = &textboxes[i].sprites[index]; int y = sprite->y + yp; SDL_Color color = getcol(sprite->col); - color.a = opacity * 255; + color.r *= opacity; + color.g *= opacity; + color.b *= opacity; if (flipmode) {