From e70e68a56b20c25b093e1c4ca844551f9a20c204 Mon Sep 17 00:00:00 2001 From: AlexVinS Date: Thu, 3 Jul 2014 23:06:11 +0400 Subject: [PATCH] Fix puzzle map fade. --- client/GUIClasses.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/GUIClasses.cpp b/client/GUIClasses.cpp index 8857c39d2..10d814799 100644 --- a/client/GUIClasses.cpp +++ b/client/GUIClasses.cpp @@ -5372,6 +5372,9 @@ CPuzzleWindow::CPuzzleWindow(const int3 &GrailPos, double discoveredRatio): piecesToRemove.push_back(piece); piece->needRefresh = true; piece->recActions = piece->recActions & ~SHOWALL; + #ifndef VCMI_SDL1 + SDL_SetSurfaceBlendMode(piece->bg,SDL_BLENDMODE_BLEND); + #endif // VCMI_SDL1 } } }