--- a/hedgewars/uStore.pas Thu Oct 19 18:57:58 2006 +0000
+++ b/hedgewars/uStore.pas Wed Oct 25 18:03:41 2006 +0000
@@ -170,7 +170,7 @@
Team:= TeamsList;
while Team<>nil do
begin
- Team.CrosshairSurf:= SDL_CreateRGBSurface(SDL_HWSURFACE, 24, 360, cBits, PixelFormat.RMask, PixelFormat.GMask, PixelFormat.BMask, PixelFormat.AMask);
+ Team.CrosshairSurf:= SDL_CreateRGBSurface(SDL_HWSURFACE, tmpsurf.w, tmpsurf.h, cBits, PixelFormat.RMask, PixelFormat.GMask, PixelFormat.BMask, PixelFormat.AMask);
TryDo(Team.CrosshairSurf <> nil, errmsgCreateSurface, true);
SDL_FillRect(Team.CrosshairSurf, nil, Team.AdjColor);
SDL_UpperBlit(tmpsurf, nil, Team.CrosshairSurf, nil);