# HG changeset patch # User unc0rr # Date 1160079231 0 # Node ID 206aabea22295c3e1d6dd17303371e4873e97924 # Parent 33d147c69a8309e4ffdb61bd0d7be00867662b25 Alpha channel value fix diff -r 33d147c69a83 -r 206aabea2229 hedgewars/uStore.pas --- a/hedgewars/uStore.pas Thu Oct 05 20:07:04 2006 +0000 +++ b/hedgewars/uStore.pas Thu Oct 05 20:13:51 2006 +0000 @@ -107,7 +107,7 @@ clr.r:= Color shr 16; clr.g:= (Color shr 8) and $FF; clr.b:= Color and $FF; -clr.a:= 0; +clr.a:= $FF; tmpsurf:= TTF_RenderUTF8_Blended(Fontz[Font].Handle, PChar(s), clr); Result.x:= X + 3; Result.y:= Y + 1; @@ -382,7 +382,7 @@ clr.r:= $FF; clr.g:= $FF; clr.b:= $FF; -clr.a:= 0; +clr.a:= $FF; tmpsurf:= TTF_RenderUTF8_Solid(Fontz[Font].Handle, PChar(s), clr); SDL_UpperBlit(tmpsurf, nil, Surface, @r); SDL_FreeSurface(tmpsurf)