diff -r 5a0416e5a6de -r b310f0bc8dde hedgewars/uRender.pas --- a/hedgewars/uRender.pas Fri Nov 11 01:40:23 2011 +0100 +++ b/hedgewars/uRender.pas Thu Nov 10 21:11:57 2011 -0500 @@ -159,7 +159,7 @@ // Any reason for this call? And why only in t direction, not s? //glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); -hw:= w div Dir; +hw:= w div (2 div Dir); nx:= round(Texture^.w / w); // number of horizontal frames ny:= round(Texture^.h / h); // number of vertical frames