hedgewars/uStore.pas
changeset 567 b6de36975a3c
parent 549 4278a80140a8
child 620 451cabd49241
--- a/hedgewars/uStore.pas	Sat Jul 21 15:45:41 2007 +0000
+++ b/hedgewars/uStore.pas	Sat Jul 21 16:35:12 2007 +0000
@@ -302,10 +302,8 @@
 GetSkyColor;
 
 AddProgress;
-tmpsurf:= LoadImage(Pathz[ptGraphics] + '/' + cHHFileName, false, true, true);
-TryDo(SDL_SetColorKey(tmpsurf, SDL_SRCCOLORKEY or SDL_RLEACCEL, 0) = 0, errmsgTransparentSet, true);
-HHSurface:= SDL_DisplayFormat(tmpsurf);
-SDL_FreeSurface(tmpsurf);
+
+HHSurface:= LoadImage(Pathz[ptGraphics] + '/' + cHHFileName, true, true, true);
 
 InitHealth;