# HG changeset patch # User sheepluva # Date 1393179339 -3600 # Node ID ac01a2aeff6921b21d22ab53958f693cde54df9d # Parent 765141e34002357f120775317c41e901ac6c07fc change how textures from non-power-of-2-width textures are filled. this fixes e.g. the vertical lines appearing between Bath theme's horizontL diff -r 765141e34002 -r ac01a2aeff69 hedgewars/uTextures.pas --- a/hedgewars/uTextures.pas Sun Feb 23 19:08:37 2014 +0100 +++ b/hedgewars/uTextures.pas Sun Feb 23 19:15:39 2014 +0100 @@ -264,7 +264,7 @@ for x:= 0 to Pred(Surf^.w) do toP4^[x]:= fromP4^[x]; for x:= Surf^.w to Pred(tw) do - toP4^[x]:= 0; + toP4^[x]:= fromP4^[0]; toP4:= PLongWordArray(@(toP4^[tw])); fromP4:= PLongWordArray(@(fromP4^[Surf^.pitch div 4])) end;