Browse Source

Fix puzzle map fade.

AlexVinS 11 years ago
parent
commit
e70e68a56b
1 changed files with 3 additions and 0 deletions
  1. 3 0
      client/GUIClasses.cpp

+ 3 - 0
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
 		}
 	}
 }