--- 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;