diff -r 424297e3165a -r 9b096d05004e hedgewars/uStore.pas --- a/hedgewars/uStore.pas Sat Jan 12 22:41:03 2008 +0000 +++ b/hedgewars/uStore.pas Mon Jan 14 17:00:54 2008 +0000 @@ -132,6 +132,7 @@ HealthSurf:= SDL_CreateRGBSurface(SDL_HWSURFACE, r.w, r.h, cBits, PixelFormat^.RMask, PixelFormat^.GMask, PixelFormat^.BMask, PixelFormat^.AMask); TryDo(HealthSurf <> nil, errmsgCreateSurface, true); + TryDo(SDL_SetColorKey(HealthSurf, SDL_SRCCOLORKEY or SDL_RLEACCEL, 0) = 0, errmsgTransparentSet, true); DrawRoundRect(@r, cWhiteColor, cColorNearBlack, HealthSurf, true); rr:= r;